Add elf64.lo together with elfxx-x86.lo for 64-bit BFD
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 31 Aug 2017 02:55:45 +0000 (19:55 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 31 Aug 2017 02:55:45 +0000 (19:55 -0700)
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.

bfd/ChangeLog
bfd/configure
bfd/configure.ac

index 5b661b9..c1d83f2 100644 (file)
@@ -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
index 32ee062..dce88a1 100755 (executable)
@@ -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}'"
index 0e4c669..3f2cedf 100644 (file)
@@ -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}'"