aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/mips-elf.exp
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2005-03-05 00:01:44 +0000
committerThiemo Seufer <ths@networkno.de>2005-03-05 00:01:44 +0000
commitbbe506e8ba9444fb4a00ba66762a2c498443e1b6 (patch)
tree4989bcc748cfc73d2cfb45f9321ee5247cde59ec /ld/testsuite/ld-mips-elf/mips-elf.exp
parent92862f42b561a218a220939cd8a1bef7c9756d06 (diff)
downloadgdb-bbe506e8ba9444fb4a00ba66762a2c498443e1b6.zip
gdb-bbe506e8ba9444fb4a00ba66762a2c498443e1b6.tar.gz
gdb-bbe506e8ba9444fb4a00ba66762a2c498443e1b6.tar.bz2
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.
Diffstat (limited to 'ld/testsuite/ld-mips-elf/mips-elf.exp')
-rw-r--r--ld/testsuite/ld-mips-elf/mips-elf.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/mips-elf.exp b/ld/testsuite/ld-mips-elf/mips-elf.exp
index 6cc7d9a..5413a72 100644
--- a/ld/testsuite/ld-mips-elf/mips-elf.exp
+++ b/ld/testsuite/ld-mips-elf/mips-elf.exp
@@ -35,6 +35,7 @@ run_dump_test "branch-misc-1"
# the "traditional" emulations.
if { $linux_gnu } {
run_dump_test "multi-got-1"
+ run_dump_test "multi-got-no-shared"
}
if $has_newabi {