OSDN Git Service

bfd/
authorrsandifo <rsandifo>
Thu, 10 Jul 2008 19:06:53 +0000 (19:06 +0000)
committerrsandifo <rsandifo>
Thu, 10 Jul 2008 19:06:53 +0000 (19:06 +0000)
commite6587235888b8969319c297d7dfaf76ddbb79d38
tree1069e58b85ee20749b97466809c5a5b111c60cbb
parenteaaea6eef66f2559974b665fac6283fbe06c9aff
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]