diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 7 | ||||
-rw-r--r-- | gas/NEWS | 2 | ||||
-rwxr-xr-x | gas/configure | 7 | ||||
-rw-r--r-- | gas/configure.ac | 7 |
4 files changed, 23 insertions, 0 deletions
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 <hongjiu.lu@intel.com> + + * 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 <amodra@gmail.com> * config/obj-coff.h: Remove TE_PE support. @@ -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]] \ |