bfd/ChangeLog
authorThiemo Seufer <ths@networkno.de>
Sat, 5 Mar 2005 00:01:44 +0000 (00:01 +0000)
committerThiemo Seufer <ths@networkno.de>
Sat, 5 Mar 2005 00:01:44 +0000 (00:01 +0000)
commitbbe506e8ba9444fb4a00ba66762a2c498443e1b6
tree4989bcc748cfc73d2cfb45f9321ee5247cde59ec
parent92862f42b561a218a220939cd8a1bef7c9756d06
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]