[PATCH] Linux/x86: Configure gas with --enable-x86-used-note by default
H.J. Lu
hjl.tools@gmail.com
Thu Jul 9 15:02:43 GMT 2020
* configure.ac: Configure with --enable-x86-used-note by default
for Linux/x86.
* configure: Regenerated.
---
gas/configure | 7 +++++++
gas/configure.ac | 7 +++++++
2 files changed, 14 insertions(+)
diff --git a/gas/configure b/gas/configure
index e480b1d997..ec9f088b03 100755
--- a/gas/configure
+++ b/gas/configure
@@ -12636,6 +12636,13 @@ $as_echo "#define STRICTCOFF 1" >>confdefs.h
;;
+ i386-*-linux-* | x86_64-*-linux-*)
+ if test ${this_target} = $target \
+ && test ${ac_default_generate_x86_used_note} = unset; then
+ ac_default_generate_x86_used_note=1
+ fi
+ ;;
+
i386-*-solaris2 \
| x86_64-*-solaris2 \
| i386-*-solaris2.[0-9] \
diff --git a/gas/configure.ac b/gas/configure.ac
index b65108fecb..8d968defb6 100644
--- a/gas/configure.ac
+++ b/gas/configure.ac
@@ -242,6 +242,13 @@ for this_target in $target $canon_targets ; do
AC_DEFINE(STRICTCOFF, 1, [Using strict COFF?])
;;
+ i386-*-linux-* | x86_64-*-linux-*)
+ if test ${this_target} = $target \
+ && test ${ac_default_generate_x86_used_note} = unset; then
+ ac_default_generate_x86_used_note=1
+ fi
+ ;;
+
i386-*-solaris2 \
| x86_64-*-solaris2 \
| i386-*-solaris2.[[0-9]] \
--
2.26.2
More information about the Binutils
mailing list