aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-08-17 04:17:18 +0000
committerAlan Modra <amodra@gmail.com>2001-08-17 04:17:18 +0000
commite9e69f5a09a9cfde95670fe39ec1b9c1e4e8749f (patch)
treed0e969bbaa7893e6f36352d12f18669c6daad79e /bfd
parent69263e90830e3f72f0babb3b8dab93114e8f8669 (diff)
downloadgdb-e9e69f5a09a9cfde95670fe39ec1b9c1e4e8749f.zip
gdb-e9e69f5a09a9cfde95670fe39ec1b9c1e4e8749f.tar.gz
gdb-e9e69f5a09a9cfde95670fe39ec1b9c1e4e8749f.tar.bz2
* config.bfd (targ64_selvecs): New.
<powerpc-*-aix* entry>: Use it here instead of ineffectual #ifdef.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog3
-rw-r--r--bfd/config.bfd13
2 files changed, 13 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index dcef0a2..ce7618d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,8 @@
2001-08-17 Alan Modra <amodra@bigpond.net.au>
+ * config.bfd (targ64_selvecs): New.
+ <powerpc-*-aix* entry>: Use it here instead of ineffectual #ifdef.
+
* bfd-in.h (BFD_VERSION): Remove wrong comment.
(BFD_DEFAULT_TARGET_SIZE): New.
(BFD_ARCH_SIZE): Comment.
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 33dc81d..dce8bb3 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -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