From: H.J. Lu Date: Thu, 9 Jul 2020 15:29:25 +0000 (-0700) Subject: Linux/x86: Configure gas with --enable-x86-used-note by default X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=939b95c77bf273b252a49334844c469bd28356a9;p=binutils-gdb.git 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. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 0b73294e4f5..5a713bc1b52 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +2020-07-09 H.J. Lu + + * NEWS: Mention --enable-x86-used-note. + * configure.ac: Configure with --enable-x86-used-note by default + for Linux/x86. + * configure: Regenerated. + 2020-07-09 Alan Modra * config/obj-coff.h: Remove TE_PE support. diff --git a/gas/NEWS b/gas/NEWS index 737bbffeadd..a7b21c55a3c 100644 --- a/gas/NEWS +++ b/gas/NEWS @@ -1,5 +1,7 @@ -*- text -*- +* Configure with --enable-x86-used-note by default for Linux/x86. + Changes in 2.35: * X86 NaCl target support is removed. diff --git a/gas/configure b/gas/configure index 9f0c9c2b13f..d6ad62559ff 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 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]] \