* targmatch.sed: Delete case statements.
authorAlan Modra <amodra@gmail.com>
Wed, 29 Aug 2001 03:39:47 +0000 (03:39 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 29 Aug 2001 03:39:47 +0000 (03:39 +0000)
* config.bfd <powerpc-*-aix* entry>: Select 64 bit xcoff for
aix4.3 and above.

bfd/ChangeLog
bfd/config.bfd
bfd/targmatch.sed

index d49e881f811d7c9bfe8029b49bfc5cbe1051dbd5..52fd4b0f5bb0411054702194f992fc384f63ffe1 100644 (file)
@@ -1,3 +1,9 @@
+2001-08-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * targmatch.sed: Delete case statements.
+       * config.bfd <powerpc-*-aix* entry>: Select 64 bit xcoff for
+       aix4.3 and above.
+
 Wed Aug 29 02:27:36 2001  J"orn Rennecke <amylaar@redhat.com>
 
        * Makefile.am (elf32-h8300.lo): New target.
index fd7fb0b4ea628334d25971d386cbd5d22b905db9..82a1a95f744539ef2059ea794ca31a521056fec9 100644 (file)
@@ -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
index 2f40e723f2c3527d02a43075c04f287405c1f67c..2716876547467d122ad1347022296c6f1eef8616 100644 (file)
@@ -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/^[   ]*#.*$//