* config.bfd (targ64_selvecs): New.
[deliverable/binutils-gdb.git] / bfd / config.bfd
index 33dc81d399a9c54a3f9d5f1ee96697daa90386b2..dce8bb3b0b417ac9778f1fc466d5a3da3a9e6f07 100644 (file)
@@ -5,6 +5,8 @@
 # Sets the following shell variables:
 #  targ_defvec         Default vector for this target
 #  targ_selvecs                Vectors to build for this target
+#  targ64_selvecs      Vectors to build if --enable-64-bit-bfd is given
+#                      or if host is 64 bit.
 #  targ_archs          Architectures for this target
 #  targ_cflags         $(CFLAGS) for this target (FIXME: pretty bogus)
 #  targ_underscore     Whether underscores are used: yes or no
@@ -23,6 +25,7 @@
 
 targ_defvec=
 targ_selvecs=
+targ64_selvecs=
 targ_cflags=
 targ_underscore=no
 
@@ -724,9 +727,7 @@ case "${targ}" in
 
   powerpc-*-aix* | powerpc-*-beos* | rs6000-*-*)
     targ_defvec=rs6000coff_vec
-#ifdef BFD64
-    targ_selvecs="rs6000coff64_vec"
-#endif
+    targ64_selvecs="rs6000coff64_vec"
     ;;
 #ifdef BFD64
   powerpc64-*-aix*)
@@ -950,6 +951,12 @@ case "${targ}" in
     ;;
 esac
 
+case "${host64}${want64}" in
+  *true*)
+    targ_selvecs="${targ_selvecs} ${targ64_selvecs}"
+    ;;
+esac
+
 # If we support any ELF target, then automatically add support for the
 # generic ELF targets.  This permits an objdump with some ELF support
 # to be used on an arbitrary ELF file for anything other than
This page took 0.023854 seconds and 4 git commands to generate.