aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-10-30 13:30:15 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-10-30 13:30:15 +0000
commit680db949c63693266539153d9ba73a852418a9b8 (patch)
treefd6ea824e6baf39207b071f971dd55823e49dc58
parent3bfcb6528e6fb6a324b2e119f50f72a0674a1402 (diff)
downloadgdb-680db949c63693266539153d9ba73a852418a9b8.zip
gdb-680db949c63693266539153d9ba73a852418a9b8.tar.gz
gdb-680db949c63693266539153d9ba73a852418a9b8.tar.bz2
Handle --enable-64-bit-bfd when setting CORE_HEADER
* configure.in: Also handle --enable-64-bit-bfd when setting CORE_HEADER for 'i[3-7]86-*-linux-*'.
-rw-r--r--bfd/ChangeLog5
-rwxr-xr-xbfd/configure4
-rw-r--r--bfd/configure.in4
3 files changed, 9 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 56b40c5..00f63f2 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ * configure.in: Also handle --enable-64-bit-bfd when setting
+ CORE_HEADER for 'i[3-7]86-*-linux-*'.
+
2012-10-30 Steve McIntyre <steve.mcintyre@linaro.org>
* elf32-arm.c (elf32_arm_print_private_bfd_data): Recognise and
diff --git a/bfd/configure b/bfd/configure
index 427e5c1..43bff03 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -13927,8 +13927,8 @@ if test "${target}" = "${host}"; then
i[3-7]86-*-linux-*)
COREFILE=trad-core.lo
TRAD_HEADER='"hosts/i386linux.h"'
- case "$enable_targets" in
- *x86_64-*linux*)
+ case "$enable_targets"-"$want64" in
+ *x86_64-*linux*|*-true)
CORE_HEADER='"hosts/x86-64linux.h"'
esac
;;
diff --git a/bfd/configure.in b/bfd/configure.in
index 9a31c04..6261aab 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -331,8 +331,8 @@ changequote(,)dnl
changequote([,])dnl
COREFILE=trad-core.lo
TRAD_HEADER='"hosts/i386linux.h"'
- case "$enable_targets" in
- *x86_64-*linux*)
+ case "$enable_targets"-"$want64" in
+ *x86_64-*linux*|*-true)
CORE_HEADER='"hosts/x86-64linux.h"'
esac
;;