aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-08-29 03:39:47 +0000
committerAlan Modra <amodra@gmail.com>2001-08-29 03:39:47 +0000
commit102ab33260109a2fc00e42e39b8bca7d675cc0e9 (patch)
treebdde425fa57e2309ac7d011edb015cf66335d9e8 /bfd
parente01b0e698158c1fae4be62ca44afcb27b0a2dcd2 (diff)
downloadgdb-102ab33260109a2fc00e42e39b8bca7d675cc0e9.zip
gdb-102ab33260109a2fc00e42e39b8bca7d675cc0e9.tar.gz
gdb-102ab33260109a2fc00e42e39b8bca7d675cc0e9.tar.bz2
* targmatch.sed: Delete case statements.
* config.bfd <powerpc-*-aix* entry>: Select 64 bit xcoff for aix4.3 and above.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/config.bfd10
-rw-r--r--bfd/targmatch.sed1
3 files changed, 14 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index d49e881..52fd4b0 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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.
diff --git a/bfd/config.bfd b/bfd/config.bfd
index fd7fb0b..82a1a95 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 2f40e72..2716876 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/^[ ]*#.*$//