[PATCH 4/5] gas: default-enable SFrames for x86_64-*-linux-* [NOMERGE]

Sam James sam@gentoo.org
Fri Aug 15 14:56:50 GMT 2025


(I don't intend for this to be merged at this point, I've just included
it for testing.)

gas/
	PR gas/33126
	* configure: Regenerate.
	* configure.ac (ac_default_sframe): Initialize to 1 for
	x86_64-*-linux-*.
---
 gas/configure    | 7 +++++++
 gas/configure.ac | 7 +++++++
 2 files changed, 14 insertions(+)

diff --git a/gas/configure b/gas/configure
index 12d96a5acd2..1666a5f7fff 100755
--- a/gas/configure
+++ b/gas/configure
@@ -12164,6 +12164,13 @@ $as_echo "#define STRICTCOFF 1" >>confdefs.h
 	   && test ${ac_default_generate_x86_used_note} = unset; then
 	  ac_default_generate_x86_used_note=1
 	fi
+
+	# If unset on x86_64-*-linux-*, let's enable it.
+	if test ${this_target} = $target \
+	   && test ${ac_default_sframe} = unset; then
+	  ac_default_sframe=1
+	fi
+
 	;;
 
       i386-*-solaris2 \
diff --git a/gas/configure.ac b/gas/configure.ac
index 78fe021bafd..ac575b9d0ab 100644
--- a/gas/configure.ac
+++ b/gas/configure.ac
@@ -274,6 +274,13 @@ for this_target in $target $canon_targets ; do
 	   && test ${ac_default_generate_x86_used_note} = unset; then
 	  ac_default_generate_x86_used_note=1
 	fi
+
+	# If unset on x86_64-*-linux-*, let's enable it.
+	if test ${this_target} = $target \
+	   && test ${ac_default_sframe} = unset; then
+	  ac_default_sframe=1
+	fi
+
 	;;
 
       i386-*-solaris2 \
-- 
2.50.1



More information about the Binutils mailing list