OSDN Git Service

bfd/
authorRichard Sandiford <rsandifo@nildram.co.uk>
Tue, 17 Feb 2004 10:19:24 +0000 (10:19 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Tue, 17 Feb 2004 10:19:24 +0000 (10:19 +0000)
commit6afad2ab1c88bd7e3c7c2b2a526fb2f027e42768
treee6cab3af717191b7e6a77ef408c61156a4b63b4a
parente5b3ded0e729f5fd467c787be6a90bff64edac68
bfd/
* elfxx-mips.c (mips_elf_calculate_relocation): Use
_bfd_elf_symbol_refs_local_p to decide whether to decay
a GOT_PAGE/GOT_OFST pair to GOT_DISP/addend.
(_bfd_mips_elf_check_relocs): Add a global GOT entry for GOT_PAGE
relocs if the symbol wasn't defined by a regular object file.
Don't check the symbol's dynindx.

ld/testsuite/
* ld-mips/elf/elf-rel-xgot-{n32,n64-linux}.d: Update after 2004-02-02
changes to the way large constants are added.
* ld-mips/elf/elf-rel-got-{n32,n64-linux}.d: Likewise.  Adjust order
of GOT entries after today's change to the handling of GOT_PAGE
relocations.
bfd/ChangeLog
bfd/elfxx-mips.c
ld/testsuite/ChangeLog
ld/testsuite/ld-mips-elf/elf-rel-got-n32.d
ld/testsuite/ld-mips-elf/elf-rel-got-n64-linux.d
ld/testsuite/ld-mips-elf/elf-rel-xgot-n32.d
ld/testsuite/ld-mips-elf/elf-rel-xgot-n64-linux.d