public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] x86-64: Skip SCFI tests for x32 targets
@ 2024-01-15 15:35 H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2024-01-15 15:35 UTC (permalink / raw)
  To: binutils; +Cc: Nick Clifton

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 | 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"
-- 
2.43.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-15 15:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-15 15:35 [PATCH] x86-64: Skip SCFI tests for x32 targets H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).