* config.bfd (targ64_selvecs): New.

<powerpc-*-aix* entry>: Use it here instead of ineffectual #ifdef.
This commit is contained in:
Alan Modra
2001-08-17 04:17:18 +00:00
parent 69263e9083
commit e9e69f5a09
2 changed files with 13 additions and 3 deletions

View File

@ -1,5 +1,8 @@
2001-08-17 Alan Modra <amodra@bigpond.net.au> 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-in.h (BFD_VERSION): Remove wrong comment.
(BFD_DEFAULT_TARGET_SIZE): New. (BFD_DEFAULT_TARGET_SIZE): New.
(BFD_ARCH_SIZE): Comment. (BFD_ARCH_SIZE): Comment.

View File

@ -5,6 +5,8 @@
# Sets the following shell variables: # Sets the following shell variables:
# targ_defvec Default vector for this target # targ_defvec Default vector for this target
# targ_selvecs Vectors to build 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_archs Architectures for this target
# targ_cflags $(CFLAGS) for this target (FIXME: pretty bogus) # targ_cflags $(CFLAGS) for this target (FIXME: pretty bogus)
# targ_underscore Whether underscores are used: yes or no # targ_underscore Whether underscores are used: yes or no
@ -23,6 +25,7 @@
targ_defvec= targ_defvec=
targ_selvecs= targ_selvecs=
targ64_selvecs=
targ_cflags= targ_cflags=
targ_underscore=no targ_underscore=no
@ -724,9 +727,7 @@ case "${targ}" in
powerpc-*-aix* | powerpc-*-beos* | rs6000-*-*) powerpc-*-aix* | powerpc-*-beos* | rs6000-*-*)
targ_defvec=rs6000coff_vec targ_defvec=rs6000coff_vec
#ifdef BFD64 targ64_selvecs="rs6000coff64_vec"
targ_selvecs="rs6000coff64_vec"
#endif
;; ;;
#ifdef BFD64 #ifdef BFD64
powerpc64-*-aix*) powerpc64-*-aix*)
@ -950,6 +951,12 @@ case "${targ}" in
;; ;;
esac 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 # If we support any ELF target, then automatically add support for the
# generic ELF targets. This permits an objdump with some ELF support # generic ELF targets. This permits an objdump with some ELF support
# to be used on an arbitrary ELF file for anything other than # to be used on an arbitrary ELF file for anything other than