From 680db949c63693266539153d9ba73a852418a9b8 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 30 Oct 2012 13:30:15 +0000 Subject: [PATCH] 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-*'. --- bfd/ChangeLog | 5 +++++ bfd/configure | 4 ++-- bfd/configure.in | 4 ++-- 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 + + * configure.in: Also handle --enable-64-bit-bfd when setting + CORE_HEADER for 'i[3-7]86-*-linux-*'. + 2012-10-30 Steve McIntyre * 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 ;; -- 2.7.4