* elf32-mips.c (NEWABI_P): New define.
authorThiemo Seufer <ths@networkno.de>
Sun, 2 Dec 2001 13:27:45 +0000 (13:27 +0000)
committerThiemo Seufer <ths@networkno.de>
Sun, 2 Dec 2001 13:27:45 +0000 (13:27 +0000)
commitd75bc93d66dd0f1b1899ad343853a962c0bbdcb4
treec152cade79bdae4f9c68b5c283c723cf7fe9e61c
parentcdf6fd85e68d3a06bbbf6a3b3065f6b1af2344f7
* elf32-mips.c (NEWABI_P): New define.
(USE_REL): Remove, replaced by
(elf_backend_may_use_rel_p): New define.
(elf_backend_may_use_rela_p): Likewise.
(elf_backend_default_use_rela_p): Likewise.
(elf_mips_howto_table): Rename to elf_mips_howto_table_rel.
Fix some relocation definitions.
(elf_mips_howto_table_rela): New RELA relocation definitions for
NewABI support.
(mips32_64bit_reloc): Use the renamed elf_mips_howto_table_rel.
(bfd_elf32_bfd_reloc_type_lookup): Likewise.
(mips_rtype_to_howto): Likewise.
(_bfd_mips_elf_relocate_section): Likewise.
(_bfd_mips_elf_object_p): Typo.
(elf_backend_sign_extend_vma): Reordered together with many other
defines nearby to resemble the order of declaration in the header
file.
bfd/ChangeLog
bfd/elf32-mips.c