]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/testsuite/ld-m68k/m68k.exp
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-m68k / m68k.exp
index 69174363b090e847fb42fe67249a3ded37b612d1..bf7de4972621cb05c39ea32c203c187aae05fcf8 100644 (file)
@@ -1,5 +1,5 @@
 # Expect script for run_dump_test based ld-m68k tests.
-#   Copyright 2006, 2007, 2008, 2009, 2012 Free Software Foundation, Inc.
+#   Copyright (C) 2006-2021 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
@@ -61,7 +61,8 @@ run_dump_test "merge-ok-1c"
 foreach { id sources } { a { plt1.s } b { plt1-empty.s plt1.s } } {
     foreach arch { 68020 cpu32 isab isac } {
        run_ld_link_tests [list \
-           [list "PLT 1$id ($arch)" "-shared -T plt1.ld" "" "-m$arch" \
+           [list "PLT 1$id ($arch)" \
+                "-shared -T plt1.ld --hash-style=sysv" "" "-m$arch" \
                 $sources [list [list objdump -dr plt1-$arch.d]] \
                 plt1-${id}-${arch}.so]]
     }
@@ -81,13 +82,23 @@ if { [istarget m68k-*-linux*] } then {
            {{nm -ngD tls-def-1.d}}
            "tls-def-1.so"}
        {"TLS direct symbol use"
-           "-shared tmpdir/tls-def-1.so" "" "" {tls-gd-1.s}
+           "-shared --hash-style=sysv tmpdir/tls-def-1.so" "" "" {tls-gd-1.s}
            {{nm -ngD tls-gd-1.d2} {readelf -d tls-gd-1.d3}}
            "tls-gd-1.so"}
        {"TLS indirect symbol use"
-           "--copy-dt-needed-entries tmpdir/tls-gd-1.so -rpath-link ./" "" "" {tls-main-1.s}
+           "--copy-dt-needed-entries --hash-style=sysv tmpdir/tls-gd-1.so -rpath-link ./" "" "" {tls-main-1.s}
            {{readelf -d tls-main-1.d}}
            "tls-main-1"}}
 
     run_ld_link_tests $m68k_tls_tests
 }
+
+run_dump_test "attr-gnu-4-00"
+run_dump_test "attr-gnu-4-01"
+run_dump_test "attr-gnu-4-02"
+run_dump_test "attr-gnu-4-10"
+run_dump_test "attr-gnu-4-11"
+run_dump_test "attr-gnu-4-12"
+run_dump_test "attr-gnu-4-20"
+run_dump_test "attr-gnu-4-21"
+run_dump_test "attr-gnu-4-22"