diff options
author | Mark Eichin <eichin@cygnus> | 1992-10-05 08:33:10 +0000 |
---|---|---|
committer | Mark Eichin <eichin@cygnus> | 1992-10-05 08:33:10 +0000 |
commit | 984cf2d71af2a849f63e37fb692f0295bc2d8d2f (patch) | |
tree | fcc12c6f923bc2b0b9a5e129713d578bc6a699b3 /gas | |
parent | fbee357154d0bd940f14bf68688f9c31bf9b400e (diff) | |
download | gdb-984cf2d71af2a849f63e37fb692f0295bc2d8d2f.zip gdb-984cf2d71af2a849f63e37fb692f0295bc2d8d2f.tar.gz gdb-984cf2d71af2a849f63e37fb692f0295bc2d8d2f.tar.bz2 |
support 386bsd target, from p3
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 12 | ||||
-rw-r--r-- | gas/configure.in | 255 |
2 files changed, 128 insertions, 139 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 9954e71..6354e04 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,15 @@ +Mon Oct 5 03:30:36 1992 Mark Eichin (eichin at tweedledumber.cygnus.com) + + * configure.in: recognize i386-*-bsd emulation. + +Thu Oct 1 23:05:12 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * configure.in: use the cpu-vendor-os triple for host and target + +Mon Sep 28 21:18:24 1992 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * read.c (cons): If NO_RELOC is defined, use it. + Fri Sep 25 17:53:43 1992 John Gilmore (gnu@cygnus.com) * messages.c: Comment changes. diff --git a/gas/configure.in b/gas/configure.in index 7d6cc4e..5fd29a7 100644 --- a/gas/configure.in +++ b/gas/configure.in @@ -36,34 +36,28 @@ configdirs=doc gas_host=generic -case "${host_cpu}" in -a29k | rs6000 | vax) gas_host=${host_cpu} ;; -mips) - case "${host_os}" in - ultrix*) gas_host=decstation ;; - esac - ;; -i386) - case "${host_os}" in - aix*) gas_host=i386aix ;; - esac - ;; -*) - case "${host_os}" in - ansi | ultrix | hpux | sysv*) gas_host=${host_os} ;; - *) - case "${host_vendor}" in - sun) - case "${host_cpu}" in - m68k) gas_host=sun3 ;; - i386) gas_host=sun386 ;; - sparc) gas_host=sun4 ;; - esac - ;; - esac - ;; - esac - ;; +case "${host}" in + a29k-*-* | rs6000-*-* | vax-*-*) + gas_host=${host_cpu} + ;; + mips-dec-ultrix) + gas_host=decstation + ;; + i386-ibm-aix) + gas_host=i386aix + ;; + m68k-sun-sunos*) + gas_host=sun3 + ;; + i386-sun-sunos*) + gas_host=sun386 + ;; + sparc-sun-*) + gas_host=sun4 + ;; + *-*-ansi | *-*-ultrix | *-*-hpux | *-*-sysv*) + gas_host=${host_os} + ;; esac # per-target: @@ -75,126 +69,109 @@ cpu_type=${target_cpu} # check for architecture variants case ${target_cpu} in -sparclite) cpu_type=sparc ;; -m680[01234]0) cpu_type=m68k ;; -m683?2) cpu_type=m68k ;; + sparclite) cpu_type=sparc ;; + m680[01234]0) cpu_type=m68k ;; + m683?2) cpu_type=m68k ;; esac gas_target=${cpu_type} # assign object format -case ${target_os} in -aix*) - case "${target_cpu}" in - i386) obj_format=coff - gas_target=i386aix - emulation=i386aix - ;; - esac - ;; - -bout*) obj_format=bout ;; -nindy*) obj_format=bout ;; -bsd* | sunos*) - obj_format=aout - emulation=sun3 ;; - -udi) - obj_format=coffbfd - need_bfd="./../bfd/libbfd.a" - gas_target=ebmon29k - ;; -ebmon-old) - obj_format=coff - need_bfd="./../bfd/libbfd.a" - gas_target=ebmon29k - ;; - -ebmon) - obj_format=coffbfd - need_bfd="./../bfd/libbfd.a" - gas_target=ebmon29k - ;; - -generic) obj_format=generic ;; - -xray | hms) - obj_format=coffbfd - need_bfd="./../bfd/libbfd.a" - ;; - -sysv32) - obj_format=coff - emulation=sysv32 - ;; - -sim) - obj_format=coffbfd - need_bfd="./../bfd/libbfd.a" - ;; - - -coff* | sysv*) - obj_format=coff - - case ${target_cpu} in - m68*) obj_format=coffbfd - need_bfd="./../bfd/libbfd.a" - gas_target=m68kcoff - ;; - i386) - obj_format=coffbfd - need_bfd="./../bfd/libbfd.a" - gas_target=i386coff - ;; - - esac - - case ${target_vendor} in - bull) emulation=dpx2 ;; - sco) emulation=sco386 ;; - sun) emulation=sun3 ;; - *) - esac - ;; -vxworks) - case ${target_cpu} in - i960) obj_format=bout ;; - m68k|m680[01234]0|m683?2) - obj_format=aout - emulation=sun3 - ;; - *) obj_format=aout ;; - esac - ;; -OSE | ose) - obj_format=aout - emulation=sun3 - ;; -aout | scout) - obj_format=aout - ;; -*) - case ${target_vendor} in - aout) obj_format=aout ;; - bout) obj_format=bout ;; - coff) - obj_format=coff - case ${target_cpu} in - i960) emulation=ic960 ;; - esac - ;; - *) obj_format=aout ;; - esac - ;; - +case ${target} in + a29k-amd-udi) + obj_format=coffbfd + need_bfd="./../bfd/libbfd.a" + gas_target=ebmon29k + ;; + a29k-amd-ebmon) + obj_format=coffbfd + need_bfd="./../bfd/libbfd.a" + gas_target=ebmon29k + ;; + a29k-amd-ebmonold) + obj_format=coff + need_bfd="./../bfd/libbfd.a" + gas_target=ebmon29k + ;; + i[34]86-ibm-aix*) + obj_format=coff + gas_target=i386aix + emulation=i386aix + ;; + i[34]86-*-bsd*) + obj_format=aout + emulation=i386bsd + ;; + i[34]86-*-coff) + obj_format=coffbfd + need_bfd="./../bfd/libbfd.a" + gas_target=i386coff + ;; + i960-wrs-vxworks) + obj_format=bout + ;; + i960-*-coff) + obj_format=coff + emulation=ic960 + ;; + m68k-wrs-vxworks) + obj_format=aout + emulation=sun3 + ;; + m68k-ericsson-[Oo][Ss][Ee]) + obj_format=aout + emulation=sun3 + ;; + m68k-*-coff) + obj_format=coffbfd + need_bfd="./../bfd/libbfd.a" + gas_target=m68kcoff + ;; + *-*-aout | *-*-scout) + obj_format=aout + ;; + *-*-bout* | *-*-nindy*) + obj_format=bout + ;; + *-*-bsd* | *-*-sunos*) + obj_format=aout + emulation=sun3 + ;; + *-*-generic) + obj_format=generic + ;; + *-*-xray | *-*-hms) + obj_format=coffbfd + need_bfd="./../bfd/libbfd.a" + ;; + *-*-sysv32) + obj_format=coff + emulation=sysv32 + ;; + *-*-sim) + obj_format=coffbfd + need_bfd="./../bfd/libbfd.a" + ;; + *-*-coff* | *-sysv* | *-*-sco*) + obj_format=coff + case ${target_vendor} in + bull) emulation=dpx2 ;; + sun) emulation=sun3 ;; + esac + ;; + *-*-vxworks) + obj_format=aout + ;; + *-*-coff) + obj_format=coff + ;; esac # assign floating point type case ${target_cpu} in -ns32k) atof=ns32k ;; -vax) atof=vax ;; -*) atof=ieee ;; + ns32k) atof=ns32k ;; + vax) atof=vax ;; + *) atof=ieee ;; esac # and target makefile frag |