aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure.in
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-09-26 02:20:05 +0000
committerJohn Gilmore <gnu@cygnus>1992-09-26 02:20:05 +0000
commit218ce930302dc328a7e6740d064ce38ffe76f0c8 (patch)
treed20c5c647dd032c5d2719107d25d8fd07b1b42c5 /bfd/configure.in
parent3aa6856ae81484ff7db975f724f212191f0e23e1 (diff)
downloadgdb-218ce930302dc328a7e6740d064ce38ffe76f0c8.zip
gdb-218ce930302dc328a7e6740d064ce38ffe76f0c8.tar.gz
gdb-218ce930302dc328a7e6740d064ce38ffe76f0c8.tar.bz2
Add Adobe a.out support.
* aout-adobe.c: New file. So far, only reads a.out.adobe. FIXME. * config/adobe.mt: Add. * configure.in (*-adobe-* target): Add. * targets.c (a_out_adobe_vec): Add. * Makefile.in: add aout-adobe.c. * configure.in: Put two dashes in all entries to be matched. Add comments to remind people to do this. Reorder all entries that match manufacturer names, to occur last, so they will only be matched if no more specific match occurs. Remove manufacturers `aout', `bout', `coff', and `elf'.
Diffstat (limited to 'bfd/configure.in')
-rw-r--r--bfd/configure.in30
1 files changed, 18 insertions, 12 deletions
diff --git a/bfd/configure.in b/bfd/configure.in
index d7967ec..9917913 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -15,6 +15,8 @@ case "${host_cpu}" in
rs6000) my_host=rs6000
;;
+we32k) my_host=we32k ;;
+
mips)
case "${host_vendor}" in
dec) my_host=decstation ;;
@@ -146,6 +148,11 @@ fi
# per-target:
+# WHEN ADDING ENTRIES TO THIS MATRIX:
+# Make sure that the left side always has two dashes. Otherwise you
+# can get spurious matches. Even for unambiguous cases, do this as a
+# convention, else the table becomes a real mess to understand and maintain.
+
case "${target}" in
rs6000-ibm-* ) bfd_target=rs6000 ;;
@@ -154,8 +161,9 @@ a29k-amd-ebmon ) bfd_target=a29k-coff ;;
a29k-amd-udi ) bfd_target=a29k-coff ;;
a29k-amd-* ) bfd_target=a29k-aout ;;
+we32k-*-* ) bfd_target=we32k ;;
+
h8300-hitachi-* ) bfd_target=h8300-coff ;;
-*-hitachi-* ) echo "bad hitachi cpu"; exit 1 ;;
i960-wrs-* ) bfd_target=i960-bout ;;
m68k-wrs-* ) bfd_target=m68k-aout ;;
@@ -166,6 +174,7 @@ m683?2-wrs-* ) bfd_target=m68k-aout ;;
m683?2-netx-* ) bfd_target=m68k-aout ;;
sparc-wrs-* ) bfd_target=sparc-aout ;;
+z8k*-*-* ) bfd_target=z8k-coff ;;
m68*-ericsson-* ) bfd_target=m68k-aout ;;
m68k-sun-* ) bfd_target=m68k-aout ;;
@@ -174,6 +183,7 @@ m683?2-sun-* ) bfd_target=m68k-aout ;;
sparc-sun-sysv4 ) bfd_target=sparc-elf ;;
sparc-sun-solaris2* ) bfd_target=sparc-elf ;;
sparc-sun-* ) bfd_target=sparc-aout ;;
+sparclite-fujitsu-* ) bfd_target=sparc-aout ;;
mips-dec-* ) bfd_target=decstation ;;
vax-dec-* ) bfd_target=vax ;;
@@ -188,8 +198,6 @@ m683?2-hp-bsd ) bfd_target=hp300bsd ;;
mips-sgi-* ) bfd_target=irix3 ;;
mips-big-* ) bfd_target=irix3 ;;
-*-tandem-* ) bfd_target=st2000 ;;
-
m68k-none-os68k ) bfd_target=m68k-aout ;;
m680[01234]0-none-os68k ) bfd_target=m68k-aout ;;
m683?2-none-os68k ) bfd_target=m68k-aout ;;
@@ -211,7 +219,10 @@ tahoe-*-* ) bfd_target=tahoe ;;
hppa*-hp-hpux ) bfd_target=hppahpux ;;
hppa*-hp-bsd ) bfd_target=hppabsd ;;
-i[34]86-ncr-sysv4* ) bfd_target=i386-elf ;;
+i[34]86-*-sysv4* ) bfd_target=i386-elf ;;
+
+tahoe-*-none ) bfd_target=${target_cpu} ;;
+vax-*-none ) bfd_target=${target_cpu} ;;
*-*-aout ) bfd_target=${target_cpu}-aout ;;
*-*-bsd ) bfd_target=${target_cpu}-aout ;;
@@ -221,21 +232,16 @@ i[34]86-ncr-sysv4* ) bfd_target=i386-elf ;;
*-*-linux* ) bfd_target=${target_cpu}-linux ;;
*-*-sysv* ) bfd_target=${target_cpu}-coff ;;
*-*-scosysv* ) bfd_target=${target_cpu}-coff ;;
-tahoe-*-none ) bfd_target=${target_cpu} ;;
-vax-*-none ) bfd_target=${target_cpu} ;;
-
-# These are obsolete and should be removed. FIXME. -- gnu
-*-aout-* ) bfd_target=${target_cpu}-aout ;;
-*-bout-* ) bfd_target=${target_cpu}-bout ;;
-*-coff-* ) bfd_target=${target_cpu}-coff ;;
-*-elf-* ) bfd_target=${target_cpu}-elf ;;
i386-none-* ) bfd_target=i386-coff ;;
+*-adobe-* ) bfd_target=adobe ;;
*-sony-* ) bfd_target=news ;;
*-intel-* ) bfd_target=${target_cpu}-coff ;;
*-stratus-* ) bfd_target=${target_cpu}-elf ;;
*-cbm-* ) bfd_target=${target_cpu}-elf ;;
*-ncr-* ) bfd_target=${target_cpu}-elf ;;
+*-hitachi-* ) echo "bad hitachi cpu"; exit 1 ;;
+*-tandem-* ) bfd_target=st2000 ;;
esac