diff options
author | Nick Clifton <nickc@redhat.com> | 2002-06-25 10:05:05 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-06-25 10:05:05 +0000 |
commit | 680f9d5c14ef8308abaa116cf31979c78e9a563e (patch) | |
tree | 707648472ce3ea10dd0097933318e3618bf79a3a /bfd | |
parent | d4c88bbbc997676cbf6ab62282438ea7df2b4dd7 (diff) | |
download | gdb-680f9d5c14ef8308abaa116cf31979c78e9a563e.zip gdb-680f9d5c14ef8308abaa116cf31979c78e9a563e.tar.gz gdb-680f9d5c14ef8308abaa116cf31979c78e9a563e.tar.bz2 |
Only create a selvecs for aix5coff64_vec if 64-bit bfd support has been enabled.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 9 | ||||
-rw-r--r-- | bfd/config.bfd | 2 | ||||
-rw-r--r-- | bfd/targets.c | 2 |
3 files changed, 13 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index fe0c345..a819c81 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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. diff --git a/bfd/config.bfd b/bfd/config.bfd index e875087..acd7729 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -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 diff --git a/bfd/targets.c b/bfd/targets.c index 49fd7d0..2699c85 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -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 */ |