aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-07-09 06:51:17 -0700
committerH.J. Lu <hjl.tools@gmail.com>2018-07-09 06:51:17 -0700
commit872899f1efeda1e93ed569d322c6b2ee85ce885c (patch)
tree79a64b779fea82b009352b700a01c83de43b25e1
parent61658d78f08920e6afe7b43bcaa287521da196aa (diff)
downloadgdb-872899f1efeda1e93ed569d322c6b2ee85ce885c.zip
gdb-872899f1efeda1e93ed569d322c6b2ee85ce885c.tar.gz
gdb-872899f1efeda1e93ed569d322c6b2ee85ce885c.tar.bz2
bfd: Use changequote for "i[3-7]86-*-linux-*"
Use changequote to match "i[3-7]86-*-linux-*", instead of "i3-786-*-linux-*". PR ld/23388 * configure.ac: Use changequote for "i[3-7]86-*-linux-*". * configure: Regenerated.
-rw-r--r--bfd/ChangeLog6
-rwxr-xr-xbfd/configure2
-rw-r--r--bfd/configure.ac2
3 files changed, 9 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 9a918bd..4b0454d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2018-07-09 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/23388
+ * configure.ac: Use changequote for "i[3-7]86-*-linux-*".
+ * configure: Regenerated.
+
2018-07-09 Alan Modra <amodra@gmail.com>
* elf32-m68hc1x.c (elf32_m68hc11_post_process_headers): Call
diff --git a/bfd/configure b/bfd/configure
index 141c7ae..0cfe568 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -12485,7 +12485,7 @@ fi
# Enable -z separate-code by default for Linux/x86.
case "${target}" in
-i3-786-*-linux-* | x86_64-*-linux-*)
+i[3-7]86-*-linux-* | x86_64-*-linux-*)
if test ${ac_default_ld_z_separate_code} = unset; then
ac_default_ld_z_separate_code=1
fi
diff --git a/bfd/configure.ac b/bfd/configure.ac
index 8315297..c6193cd 100644
--- a/bfd/configure.ac
+++ b/bfd/configure.ac
@@ -106,8 +106,10 @@ AC_ARG_ENABLE(separate-code,
no) ac_default_ld_z_separate_code=0 ;;
esac])
# Enable -z separate-code by default for Linux/x86.
+changequote(,)dnl
case "${target}" in
i[3-7]86-*-linux-* | x86_64-*-linux-*)
+changequote([,])dnl
if test ${ac_default_ld_z_separate_code} = unset; then
ac_default_ld_z_separate_code=1
fi