]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
x86: restrict recently added ifunc gas tests
authorJan Beulich <jbeulich@suse.com>
Mon, 19 Jan 2026 09:42:47 +0000 (10:42 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 19 Jan 2026 09:42:47 +0000 (10:42 +0100)
These will fail on Solaris and other non-GNU targets.

gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/x86-64-ifunc.d

index b52d86d6d4f7038deee1c9b1c707c3e87d854146..f63f5df703e8ef8551187dbdec68a06ca55c3a58 100644 (file)
@@ -741,12 +741,15 @@ if [gas_32_check] then {
        run_dump_test "intel-cmps16"
        run_list_test "inval-equ-1" "-al"
        run_list_test "inval-equ-2" "-al"
-       run_dump_test "ifunc"
-       run_list_test "ifunc-2"
-       run_dump_test "ifunc-3"
        run_dump_test "localpic"
        run_dump_test "debug1"
 
+       if {[supports_gnu_osabi]} then {
+           run_dump_test "ifunc"
+           run_list_test "ifunc-2"
+           run_dump_test "ifunc-3"
+       }
+
        run_dump_test "dwarf2-line-1"
        run_dump_test "dwarf2-line-2"
        run_dump_test "dwarf2-line-3"
index bf81bd11d70eef0d1edd96faeb8a278b8d0d007a..bf02de7b7998d11bbf26d6012d171e5fdf2a3033 100644 (file)
@@ -1,6 +1,7 @@
 #source: ifunc.s
 #objdump: -drw
 #name: x86-64 ifunc
+#target: [supports_gnu_osabi]
 
 .*: +file format .*