This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed, PATCH] bfd: Use changequote for "i[3-7]86-*-linux-*"


Use changequote to match "i[3-7]86-*-linux-*", instead of
"i3-786-*-linux-*".

Nick, is it OK for 2.31 branch?

Thanks.


H.J.
---
	PR ld/23388
	* configure.ac: Use changequote for "i[3-7]86-*-linux-*".
	* configure: Regenerated.
---
 bfd/ChangeLog    | 6 ++++++
 bfd/configure    | 2 +-
 bfd/configure.ac | 2 ++
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 9a918bd4d5..4b0454d8a8 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 141c7ae2f4..0cfe56861a 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 8315297dfd..c6193cd8a4 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
-- 
2.17.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]