This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Add elf64.lo together with elfxx-x86.lo for 64-bit BFD
- From: H.J.Lu <hjl at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 31 Aug 2017 02:56:15 -0000
- Subject: [binutils-gdb] Add elf64.lo together with elfxx-x86.lo for 64-bit BFD
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3321e42bf2b5819b76ca36e8964fe7cf9a8ae9a2
commit 3321e42bf2b5819b76ca36e8964fe7cf9a8ae9a2
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Aug 30 19:55:45 2017 -0700
Add elf64.lo together with elfxx-x86.lo for 64-bit BFD
Since elfxx-x86.lo needs elf64.lo with 64-bit BFD, add elf64.lo together
with elfxx-x86.lo to bfd_backends for 64-bit BFD.
* configure.ac (bfd_backends): Add elf64.lo together with
elfxx-x86.lo for 64-bit BFD.
* configure: Regenerated.
Diff:
---
bfd/ChangeLog | 6 ++++++
bfd/configure | 7 +++++++
bfd/configure.ac | 7 +++++++
3 files changed, 20 insertions(+)
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 5b661b9..c1d83f2 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2017-08-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ * configure.ac (bfd_backends): Add elf64.lo together with
+ elfxx-x86.lo for 64-bit BFD.
+ * configure: Regenerated.
+
2017-08-31 James Bowman <james.bowman@ftdichip.com>
* elf32-ft32.c (ft32_elf_howto_table): Use complain_overflow_dont
diff --git a/bfd/configure b/bfd/configure
index 32ee062..dce88a1 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -14758,6 +14758,13 @@ rm -f conftest*
;;
esac
+# elfxx-x86.lo needs elf64.lo with 64-bit BFD.
+case "${bfd_backends}-${wordsize}" in
+ *elfxx-x86.lo*-64*)
+ bfd_backends="${bfd_backends} elf64.lo"
+ ;;
+esac
+
tdefaults=""
test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
diff --git a/bfd/configure.ac b/bfd/configure.ac
index 0e4c669..3f2cedf 100644
--- a/bfd/configure.ac
+++ b/bfd/configure.ac
@@ -825,6 +825,13 @@ case ${host64}-${target64}-${want64} in
;;
esac
+# elfxx-x86.lo needs elf64.lo with 64-bit BFD.
+case "${bfd_backends}-${wordsize}" in
+ *elfxx-x86.lo*-64*)
+ bfd_backends="${bfd_backends} elf64.lo"
+ ;;
+esac
+
tdefaults=""
test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"