Only create a selvecs for aix5coff64_vec if 64-bit bfd support has been enabled.

This commit is contained in:
Nick Clifton 2002-06-25 10:05:05 +00:00
parent d4c88bbbc9
commit 680f9d5c14
3 changed files with 13 additions and 0 deletions

View file

@ -1,3 +1,12 @@
2002-06-25 Nick Clifton <nickc@cambridge.redhat.com>
* config.bfd (powerpc-*-aix5*): Only create a selvecs for
aix5coff64_vec if 64-bit bfd support has been enabled.
(powerpc64-*-aix5*): Only define if 64-bit bfd support has
been enabled.
* targets.c (_bfd_target_vector[]): Only include
aix5coff64_vec if 64-bit bfd support has been enabled.
2002-06-25 Alan Modra <amodra@bigpond.net.au>
* elf64-ppc.c (ppc_add_stub): Replace strcpy/strncpy with memcpy.

View file

@ -809,6 +809,7 @@ case "${targ}" in
powerpc-*-aix5*)
targ_defvec=rs6000coff_vec
#ifdef BFD64
targ_selvecs="aix5coff64_vec"
want64=true
;;
@ -817,6 +818,7 @@ case "${targ}" in
targ_selvecs="rs6000coff_vec"
want64=true
;;
#endif
powerpc-*-aix* | powerpc-*-beos* | rs6000-*-*)
targ_defvec=rs6000coff_vec

View file

@ -727,7 +727,9 @@ static const bfd_target * const _bfd_target_vector[] = {
it wasn't omitted by mistake. */
&a29kcoff_big_vec,
&a_out_adobe_vec,
#ifdef BFD64
&aix5coff64_vec,
#endif
&aout0_big_vec,
#if 0
/* We have no way of distinguishing these from other a.out variants */