]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
x86-64: Skip SCFI tests for x32 targets
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 15 Jan 2024 15:31:29 +0000 (07:31 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 15 Jan 2024 15:37:19 +0000 (07:37 -0800)
Since SCFI isn't supported on x32:

Fatal error: SCFI is not supported for this ABI

skip SCFI tests for x32 targets.

PR gas/31245
* testsuite/gas/scfi/x86_64/scfi-x86-64.exp: Skip for x32
targets.

gas/testsuite/gas/scfi/x86_64/scfi-x86-64.exp

index 460d5fd2bca5580952f5c43347c4d43feca78ee8..2b291800b6519636201798b63fbd53e1f6ed5b38 100644 (file)
@@ -19,7 +19,7 @@ if { ![is_elf_format] } then {
 }
 
 # common tests
-if  { ([istarget "x86_64-*-*"]) } then {
+if  { ([istarget "x86_64-*-*"] && ![istarget "x86_64-*-linux*-gnux32"]) } then {
 
     global ASFLAGS
     set old_ASFLAGS "$ASFLAGS"