aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2005-02-02 20:19:35 +0000
committerDaniel Jacobowitz <drow@false.org>2005-02-02 20:19:35 +0000
commit732be173787cbf5d392d80af2383e9e343bd8cda (patch)
tree9357eae5644489ca9401b7291e1135c4feeec1ea /ld/testsuite/ld-mips-elf
parent05ee4b0f76c769a4a385a5ef636fcca7227d5081 (diff)
downloadfsf-binutils-gdb-732be173787cbf5d392d80af2383e9e343bd8cda.zip
fsf-binutils-gdb-732be173787cbf5d392d80af2383e9e343bd8cda.tar.gz
fsf-binutils-gdb-732be173787cbf5d392d80af2383e9e343bd8cda.tar.bz2
* ld-mips-elf/eh-frame3.d, ld-mips-elf/eh-frame4.d: Move comments
after test commands. * ld-mips-elf/mips-elf.exp: Skip multi-got-1 on non-GNU/Linux systems.
Diffstat (limited to 'ld/testsuite/ld-mips-elf')
-rw-r--r--ld/testsuite/ld-mips-elf/eh-frame3.d9
-rw-r--r--ld/testsuite/ld-mips-elf/eh-frame4.d7
-rw-r--r--ld/testsuite/ld-mips-elf/mips-elf.exp7
3 files changed, 14 insertions, 9 deletions
diff --git a/ld/testsuite/ld-mips-elf/eh-frame3.d b/ld/testsuite/ld-mips-elf/eh-frame3.d
index 16a3bd4..4c91d2c 100644
--- a/ld/testsuite/ld-mips-elf/eh-frame3.d
+++ b/ld/testsuite/ld-mips-elf/eh-frame3.d
@@ -1,12 +1,13 @@
-# This test is for the official LP64 version of EABI64, which uses a
-# combination of 32-bit objects and 64-bit FDE addresses.
-#
#name: MIPS eh-frame 3
#source: eh-frame1.s
#source: eh-frame1.s
#as: -EB -mips3 -mabi=eabi --defsym alignment=3 --defsym fill=0 --defsym foo=0x1020304050607080
#readelf: -wf
-#ld: -melf32ebmip -Teh-frame1.ld
+#ld: -EB -Teh-frame1.ld
+#
+# This test is for the official LP64 version of EABI64, which uses a
+# combination of 32-bit objects and 64-bit FDE addresses.
+#
The section \.eh_frame contains:
diff --git a/ld/testsuite/ld-mips-elf/eh-frame4.d b/ld/testsuite/ld-mips-elf/eh-frame4.d
index 0be85aa..e04d5fc 100644
--- a/ld/testsuite/ld-mips-elf/eh-frame4.d
+++ b/ld/testsuite/ld-mips-elf/eh-frame4.d
@@ -1,11 +1,12 @@
-# This test is for the semi-official ILP32 variation of EABI64.
-#
#name: MIPS eh-frame 4
#source: eh-frame1.s
#source: eh-frame1.s
#as: -EB -mips3 -mabi=eabi --defsym alignment=2 --defsym fill=0 --defsym foo=0x50607080
#readelf: -wf
-#ld: -melf32ebmip -Teh-frame1.ld
+#ld: -EB -Teh-frame1.ld
+#
+# This test is for the semi-official ILP32 variation of EABI64.
+#
The section \.eh_frame contains:
diff --git a/ld/testsuite/ld-mips-elf/mips-elf.exp b/ld/testsuite/ld-mips-elf/mips-elf.exp
index ed942b1..3315900 100644
--- a/ld/testsuite/ld-mips-elf/mips-elf.exp
+++ b/ld/testsuite/ld-mips-elf/mips-elf.exp
@@ -31,8 +31,11 @@ run_dump_test "mips16-1"
# MIPS branch offset final link checking.
run_dump_test "branch-misc-1"
-# Test multi-got link.
-run_dump_test "multi-got-1"
+# Test multi-got link. We only do this on GNU/Linux because it requires
+# the "traditional" emulations.
+if { $linux_gnu } {
+ run_dump_test "multi-got-1"
+}
if $has_newabi {
run_dump_test "elf-rel-got-n32"