[binutils-gdb/binutils-2_42-branch] x86-64: Skip SCFI tests for x32 targets

H.J. Lu hjl@sourceware.org
Mon Jan 15 15:45:40 GMT 2024


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b7d511e37ce1134b8c89487e49279e438b8333be

commit b7d511e37ce1134b8c89487e49279e438b8333be
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Jan 15 07:31:29 2024 -0800

    x86-64: Skip SCFI tests for x32 targets
    
    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.
    
    (cherry picked from commit 7bd344dd0e0469a93cbbf50f797155278cb76a0b)

Diff:
---
 gas/testsuite/gas/scfi/x86_64/scfi-x86-64.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gas/testsuite/gas/scfi/x86_64/scfi-x86-64.exp b/gas/testsuite/gas/scfi/x86_64/scfi-x86-64.exp
index 460d5fd2bca..2b291800b65 100644
--- a/gas/testsuite/gas/scfi/x86_64/scfi-x86-64.exp
+++ b/gas/testsuite/gas/scfi/x86_64/scfi-x86-64.exp
@@ -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"


More information about the Binutils-cvs mailing list