M68K TLS support.
[binutils-gdb.git] / ld / testsuite / ld-m68k / m68k.exp
index fd98b63c254f7bf16a2073f8b49ae3d8568ec3e9..214c640f6e9d0f74c8eb90e3c1bd97295f33f897 100644 (file)
@@ -35,7 +35,7 @@ if { ![is_elf_format] || ![istarget m68k-*-*] } {
 
 set m68k_mergeok_tests {
     {"merge isa-a isa-a:nodiv" "-T merge.ld" ""
-       {isaa.s isaa-nodiv.s} {{objdump -p isaa.d}} "isaa"}
+       {isaa.s isaa-nodiv.s} {{objdump -p isaa.d}} "isaa-nodiv"}
     {"merge isa-a isa-b" "-T merge.ld" ""
        {isaa.s isab.s} {{objdump -p isab.d}} "isab"}
     {"merge isa-a isa-aplus" "-T merge.ld" ""
@@ -67,21 +67,11 @@ foreach { id sources } { a { plt1.s } b { plt1-empty.s plt1.s } } {
     }
 }
 
-# 1 - 1
-# 2 - 8189
-# 3 - 8190
-# 4 - 16384
-# 5 - 16385
-
-run_dump_test "got-single-12-ok"
-run_dump_test "got-single-13-er"
-run_dump_test "got-negative-14-ok"
-run_dump_test "got-negative-15-er"
-run_dump_test "got-negative-12-13-14-34-ok"
-run_dump_test "got-negative-12-13-14-35-er"
-run_dump_test "got-multigot-14-ok"
-run_dump_test "got-multigot-15-er"
-run_dump_test "got-multigot-12-13-14-34-35-ok"
-
-run_dump_test "got-xgot-15-ok"
-run_dump_test "got-xgot-12-13-14-15-34-35-ok"
+if { [istarget m68k-*-linux*] } then {
+    run_dump_test "tls-gd-1"
+    run_dump_test "tls-gd-2"
+    run_dump_test "tls-gd-ie-1"
+    run_dump_test "tls-ie-1"
+    run_dump_test "tls-ld-1"
+    run_dump_test "tls-ld-2"
+}