bfd/ChangeLog
commit19ab14041cd0db75ff6aeb82347cab1766e9fbc1
authorThiemo Seufer <ths@networkno.de>
Sat, 5 Mar 2005 00:01:44 +0000 (5 00:01 +0000)
committerThiemo Seufer <ths@networkno.de>
Sat, 5 Mar 2005 00:01:44 +0000 (5 00:01 +0000)
tree05ed6227ecfac0771c30ffee950f28a6d79ac96e
parent33f264dcbb43b742aeff65a5ef6e243df36ade53
bfd/ChangeLog
* elfxx-mips.c (mips_elf_calculate_relocation): Handle special
'__gnu_local_gp' symbol used by gas -mno-shared.

gas/ChangeLog
* config/tc-mips.c (macro_build_lui): Use '__gnu_local_gp'
instead of '_gp' for -mno-shared optimization.
(s_cpload): Ditto.
(s_abicalls): Document it in the comment.
(md_show_usage): Document the -mno-shared option.

gas/testsuite/ChangeLog
* gas/mips/elf-rel23b.d: Use '__gnu_local_gp' instead of '_gp'
for -mno-shared optimization.
* gas/mips/elf-rel25a.d: Ditto.

ld/testsuite/ChangeLog
* ld-mips-elf/multi-got-no-shared-1.s,
ld-mips-elf/multi-got-no-shared-2.s,
ld-mips-elf/multi-got-no-shared.d: New tests.
* ld-mips-elf/mips-elf.exp: Run them.
12 files changed:
bfd/ChangeLog
bfd/elfxx-mips.c
gas/ChangeLog
gas/config/tc-mips.c
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/elf-rel23b.d
gas/testsuite/gas/mips/elf-rel25a.d
ld/testsuite/ChangeLog
ld/testsuite/ld-mips-elf/mips-elf.exp
ld/testsuite/ld-mips-elf/multi-got-no-shared-1.s [new file with mode: 0644]
ld/testsuite/ld-mips-elf/multi-got-no-shared-2.s [new file with mode: 0644]
ld/testsuite/ld-mips-elf/multi-got-no-shared.d [new file with mode: 0644]