OSDN Git Service

bfd/
authorRichard Sandiford <rsandifo@nildram.co.uk>
Thu, 10 Jul 2008 19:06:53 +0000 (19:06 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Thu, 10 Jul 2008 19:06:53 +0000 (19:06 +0000)
commitfaafc279cf6243180a8ddf1d912745f2f9ebe397
treebd47893325e06096beb642453bf7d32fb3a576ba
parentf3baa769683af871e46ae000b6672ed488ac5079
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