* elfxx-mips.h: Include "elf/mips.h".
authorMaciej W. Rozycki <macro@linux-mips.org>
Tue, 27 Jul 2010 21:18:52 +0000 (21:18 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Tue, 27 Jul 2010 21:18:52 +0000 (21:18 +0000)
commit9684f07814af5cabe84dfeb3f4a178b9a828e44d
tree32e10ebbf817ac9a652c3738e017d6eb95926e48
parent2b2c11bd2d615b62f1e69de2e2dd64a4bb3252de
* elfxx-mips.h: Include "elf/mips.h".
(gprel16_reloc_p): New static inline function.
* elfxx-mips.c (_bfd_mips_elf_check_relocs)
[R_MIPS16_GOT16, R_MIPS_GOT16, R_MIPS_GOT_HI16, R_MIPS_GOT_LO16]:
Use got16_reloc_p.
(_bfd_mips_elf_relocate_section)[bfd_reloc_overflow]: Use
gprel16_reloc_p.
* elf32-mips.c (mips_info_to_howto_rel): Likewise.
* elfn32-mips.c (mips_info_to_howto_rel): Likewise.
bfd/ChangeLog
bfd/elf32-mips.c
bfd/elfn32-mips.c
bfd/elfxx-mips.c
bfd/elfxx-mips.h