bfd/
commitf0a026129dbe5c7bfe3046a48af28bca86236753
authorRichard Sandiford <rsandifo@nildram.co.uk>
Thu, 10 Jul 2008 19:06:54 +0000 (10 19:06 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Thu, 10 Jul 2008 19:06:54 +0000 (10 19:06 +0000)
tree5b72e22c929a9785de7075a6686ca60bec3e17d2
parent177b6151b6564f929b03d9758c8dc6ed0f2c1691
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]