* elfxx-mips.h: Include "elf/mips.h".
commit951fcb52ab837b34eee3a086a4c2ffda4ea4dd28
authorMaciej W. Rozycki <macro@linux-mips.org>
Tue, 27 Jul 2010 21:18:52 +0000 (27 21:18 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Tue, 27 Jul 2010 21:18:52 +0000 (27 21:18 +0000)
treeedc4f3f418a62de1a39d6211a4dcc93095b2a40a
parent6599e6026c8d5f756b89ec162af7ffc7ba416f19
* 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