aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/NEWS2
-rwxr-xr-xgas/configure7
-rw-r--r--gas/configure.ac7
4 files changed, 23 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 0b73294..5a713bc 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.
diff --git a/gas/NEWS b/gas/NEWS
index 737bbff..a7b21c5 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 9f0c9c2..d6ad625 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 b65108f..8d968de 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]] \