bfd/
authorRichard Sandiford <rdsandiford@googlemail.com>
Sun, 13 Oct 2013 10:03:22 +0000 (10:03 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Sun, 13 Oct 2013 10:03:22 +0000 (10:03 +0000)
commitc5d6fa4495dd20cc44698346f102fd7702fd601d
tree8143608bc9d5fa9672f935421ad9a3b302e41c01
parent3fcec3ee7795b07b20b3e02df70c9c326abfd81d
bfd/
* elfxx-mips.c (mips_use_local_got_p): New function.
(mips_elf_count_got_symbols, mips_elf_calculate_relocation): Use it.
(_bfd_mips_elf_check_relocs): Set pointer_equality_needed for
GOT and absolute references.

ld/testsuite/
* ld-mips-elf/pic-and-nonpic-6-n32.ad,
ld-mips-elf/pic-and-nonpic-6-n32.dd,
ld-mips-elf/pic-and-nonpic-6-n32.gd,
ld-mips-elf/pic-and-nonpic-6-n32.nd,
ld-mips-elf/pic-and-nonpic-6-n32.rd,
ld-mips-elf/pic-and-nonpic-6-n64.ad,
ld-mips-elf/pic-and-nonpic-6-n64.dd,
ld-mips-elf/pic-and-nonpic-6-n64.gd,
ld-mips-elf/pic-and-nonpic-6-n64.nd,
ld-mips-elf/pic-and-nonpic-6-n64.rd,
ld-mips-elf/pic-and-nonpic-6-o32.ad,
ld-mips-elf/pic-and-nonpic-6-o32.dd,
ld-mips-elf/pic-and-nonpic-6-o32.gd,
ld-mips-elf/pic-and-nonpic-6-o32.nd,
ld-mips-elf/pic-and-nonpic-6-o32.rd: Fix symbol value of extf4.
No longer expect extf3, extf4 and extd2 to be in the global GOT.
18 files changed:
bfd/ChangeLog
bfd/elfxx-mips.c
ld/testsuite/ChangeLog
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32.ad
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32.dd
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32.gd
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32.nd
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32.rd
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64.ad
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64.dd
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64.gd
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64.nd
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64.rd
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32.ad
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32.dd
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32.gd
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32.nd
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32.rd