From 102ab33260109a2fc00e42e39b8bca7d675cc0e9 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 29 Aug 2001 03:39:47 +0000 Subject: [PATCH] * targmatch.sed: Delete case statements. * config.bfd : Select 64 bit xcoff for aix4.3 and above. --- bfd/ChangeLog | 6 ++++++ bfd/config.bfd | 10 +++++++--- bfd/targmatch.sed | 1 + 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d49e881f81..52fd4b0f5b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2001-08-29 Alan Modra + + * targmatch.sed: Delete case statements. + * config.bfd : Select 64 bit xcoff for + aix4.3 and above. + Wed Aug 29 02:27:36 2001 J"orn Rennecke * Makefile.am (elf32-h8300.lo): New target. diff --git a/bfd/config.bfd b/bfd/config.bfd index fd7fb0b4ea..82a1a95f74 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -613,7 +613,7 @@ case "${targ}" in targ_defvec=bfd_elf32_littlemips_vec targ_selvecs="bfd_elf32_bigmips_vec ecoff_little_vec ecoff_big_vec" ;; - mips*-*-netbsd*) + mips*-*-netbsd*) targ_defvec=bfd_elf32_bigmips_vec targ_selvecs="bfd_elf32_littlemips_vec ecoff_big_vec ecoff_little_vec" ;; @@ -732,12 +732,16 @@ case "${targ}" in powerpc-*-aix* | powerpc-*-beos* | rs6000-*-*) targ_defvec=rs6000coff_vec - targ64_selvecs="rs6000coff64_vec" + targ64_selvecs=rs6000coff64_vec + case "${targ}" in + *-*-aix4.[3456789]* | *-*-aix[56789]*) + want64=true;; + esac ;; #ifdef BFD64 powerpc64-*-aix*) targ_defvec=rs6000coff64_vec - targ_selvecs="rs6000coff_vec" + targ_selvecs=rs6000coff_vec ;; powerpc64-*-elf* | powerpc-*-elf64* | powerpc64-*-linux*) targ_defvec=bfd_elf64_powerpc_vec diff --git a/bfd/targmatch.sed b/bfd/targmatch.sed index 2f40e723f2..2716876547 100644 --- a/bfd/targmatch.sed +++ b/bfd/targmatch.sed @@ -1,5 +1,6 @@ 1,/START OF targmatch.h/ d /END OF targmatch.h/,$ d +/^[ ]*case/,/^[ ]*esac/ d s/^#if/KEEP #if/ s/^#endif/KEEP #endif/ s/^[ ]*#.*$//