diff options
Diffstat (limited to 'bfd/elf32-mips.c')
-rw-r--r-- | bfd/elf32-mips.c | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index f1667321025..875e316bf72 100644 --- a/bfd/elf32-mips.c +++ b/bfd/elf32-mips.c @@ -62,9 +62,9 @@ static reloc_howto_type *bfd_elf32_bfd_reloc_type_lookup static reloc_howto_type *mips_elf32_rtype_to_howto PARAMS ((unsigned int, boolean)); static void mips_info_to_howto_rel - PARAMS ((bfd *, arelent *, Elf32_Internal_Rel *)); + PARAMS ((bfd *, arelent *, Elf_Internal_Rela *)); static void mips_info_to_howto_rela - PARAMS ((bfd *, arelent *, Elf32_Internal_Rela *)); + PARAMS ((bfd *, arelent *, Elf_Internal_Rela *)); static boolean mips_elf_sym_is_global PARAMS ((bfd *, asymbol *)); static boolean mips_elf32_object_p PARAMS ((bfd *)); static boolean mips_elf_is_local_label_name @@ -1464,7 +1464,7 @@ bfd_elf32_bfd_reloc_type_lookup (abfd, code) } } -/* Given a MIPS Elf32_Internal_Rel, fill in an arelent structure. */ +/* Given a MIPS Elf_Internal_Rel, fill in an arelent structure. */ static reloc_howto_type * mips_elf32_rtype_to_howto (r_type, rela_p) @@ -1497,13 +1497,13 @@ mips_elf32_rtype_to_howto (r_type, rela_p) } } -/* Given a MIPS Elf32_Internal_Rel, fill in an arelent structure. */ +/* Given a MIPS Elf_Internal_Rel, fill in an arelent structure. */ static void mips_info_to_howto_rel (abfd, cache_ptr, dst) bfd *abfd; arelent *cache_ptr; - Elf32_Internal_Rel *dst; + Elf_Internal_Rela *dst; { unsigned int r_type; @@ -1520,21 +1520,18 @@ mips_info_to_howto_rel (abfd, cache_ptr, dst) cache_ptr->addend = elf_gp (abfd); } -/* Given a MIPS Elf32_Internal_Rela, fill in an arelent structure. */ +/* Given a MIPS Elf_Internal_Rela, fill in an arelent structure. */ static void mips_info_to_howto_rela (abfd, cache_ptr, dst) bfd *abfd; arelent *cache_ptr; - Elf32_Internal_Rela *dst; + Elf_Internal_Rela *dst; { - /* Since an Elf32_Internal_Rel is an initial prefix of an - Elf32_Internal_Rela, we can just use mips_info_to_howto_rel - above. */ - mips_info_to_howto_rel (abfd, cache_ptr, (Elf32_Internal_Rel *) dst); + mips_info_to_howto_rel (abfd, cache_ptr, dst); /* If we ever need to do any extra processing with dst->r_addend - (the field omitted in an Elf32_Internal_Rel) we can do it here. */ + (the field omitted in an Elf_Internal_Rel) we can do it here. */ } /* Determine whether a symbol is global for the purposes of splitting |