bfd/
authorRichard Sandiford <rdsandiford@googlemail.com>
Thu, 10 Jul 2008 19:06:54 +0000 (19:06 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Thu, 10 Jul 2008 19:06:54 +0000 (19:06 +0000)
commit0a61c8c283b8f3be8efc3816b84c88bc1962b04d
tree930ade3feb09e614c88aececb05df4607b0b0785
parent30c090907953c55bb80ec4af160054776d32303e
bfd/
* elfxx-mips.c (mips_elf_calculate_relocation): Calculate GP and GP0
for all relocation types.  Allow any type of relocation to refer to
__gnu_local_gp.

ld/testsuite/
* ld-mips-elf/no-shared-1-o32.s,
ld-mips-elf/no-shared-1-o32.d,
ld-mips-elf/no-shared-1-n32.d,
ld-mips-elf/no-shared-1-n64.s,
ld-mips-elf/no-shared-1-n64.d,
ld-mips-elf/no-shared-1.ld: New tests.
* ld-mips-elf/mips-elf.exp: Run them.
bfd/ChangeLog
bfd/elfxx-mips.c
ld/testsuite/ChangeLog
ld/testsuite/ld-mips-elf/mips-elf.exp
ld/testsuite/ld-mips-elf/no-shared-1-n32.d [new file with mode: 0644]
ld/testsuite/ld-mips-elf/no-shared-1-n64.d [new file with mode: 0644]
ld/testsuite/ld-mips-elf/no-shared-1-n64.s [new file with mode: 0644]
ld/testsuite/ld-mips-elf/no-shared-1-o32.d [new file with mode: 0644]
ld/testsuite/ld-mips-elf/no-shared-1-o32.s [new file with mode: 0644]
ld/testsuite/ld-mips-elf/no-shared-1.ld [new file with mode: 0644]