Handle --enable-64-bit-bfd when setting CORE_HEADER
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 30 Oct 2012 13:30:15 +0000 (13:30 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 30 Oct 2012 13:30:15 +0000 (13:30 +0000)
* configure.in: Also handle --enable-64-bit-bfd when setting
CORE_HEADER for 'i[3-7]86-*-linux-*'.

bfd/ChangeLog
bfd/configure
bfd/configure.in

index 56b40c5..00f63f2 100644 (file)
@@ -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
index 427e5c1..43bff03 100755 (executable)
@@ -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
        ;;
index 9a31c04..6261aab 100644 (file)
@@ -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
        ;;