summaryrefslogtreecommitdiff
path: root/gas/configure.ac
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-07-09 08:29:25 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-07-09 08:29:25 -0700
commit939b95c77bf273b252a49334844c469bd28356a9 (patch)
tree27f6034d47fc2bf21e6f4364a79036d40ed3cba8 /gas/configure.ac
parentfe49679d5193f6ff7cfd333e30883d293112a3d1 (diff)
downloadbinutils-gdb-939b95c77bf273b252a49334844c469bd28356a9.tar.gz
Linux/x86: Configure gas with --enable-x86-used-note by default
* configure.ac: Configure with --enable-x86-used-note by default for Linux/x86. * configure: Regenerated.
Diffstat (limited to 'gas/configure.ac')
-rw-r--r--gas/configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/gas/configure.ac b/gas/configure.ac
index b65108fecb2..8d968defb62 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]] \