diff options
author | Ken Raeburn <raeburn@cygnus> | 1994-01-13 21:24:27 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1994-01-13 21:24:27 +0000 |
commit | 420065a54e2f4083f46ba8aa51cc490a48f93d2f (patch) | |
tree | 9e38e5288315ac9d1e9a48312c9fd0603eaac6db /gas/configure.in | |
parent | 3996115456ab086f3e136b95651f920856662671 (diff) | |
download | gdb-420065a54e2f4083f46ba8aa51cc490a48f93d2f.zip gdb-420065a54e2f4083f46ba8aa51cc490a48f93d2f.tar.gz gdb-420065a54e2f4083f46ba8aa51cc490a48f93d2f.tar.bz2 |
* configure.in (i386-*-netbsd*): New target, using te-netbsd.h.
(i386-*-netbsd0.8): New target, like 386bsd.
* configure.in: Set BFDDEF in Makefile to "define" or "undef".
* Makefile.in (config.h): Protect against multiple inclusions. Define or undef
BFD_ASSEMBLER as specified by $(BFDDEF).
(ALL_CFLAGS): Omit $(BFDDEF).
Diffstat (limited to 'gas/configure.in')
-rw-r--r-- | gas/configure.in | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gas/configure.in b/gas/configure.in index 6a44bac..dcb2e72 100644 --- a/gas/configure.in +++ b/gas/configure.in @@ -128,7 +128,7 @@ case ${generic_target} in alpha-*-osf*) obj_format=ecoff dev=yes ;; - hppa-*-osf) obj_format=elf emulation=hppa dev=yes ;; + hppa-*-osf) obj_format=elf emulation=hppa ;; hppa-*-hpux*) obj_format=som emulation=hppa ;; hppa-*-bsd*) obj_format=som emulation=hppa ;; @@ -137,6 +137,8 @@ case ${generic_target} in i386-ibm-aix*) obj_format=coffbfd gas_target=i386coff emulation=i386aix ;; i386-*-bsd*) obj_format=aout emulation=386bsd ;; + i386-*-netbsd0.8) obj_format=aout emulation=netbsd ;; + i386-*-netbsd*) obj_format=aout emulation=netbsd ;; i386-*-linux*elf*) obj_format=elf emulation=linux ;; i386-*-linux*coff*) obj_format=coffbfd emulation=linux gas_target=i386coff ;; @@ -147,6 +149,7 @@ case ${generic_target} in obj_format=elf ;; i386-*-coff | i386-*-sysv* | i386-*-sco* | i386-*-isc*) obj_format=coffbfd gas_target=i386coff ;; + i386-*-vsta) obj_format=aout ;; i386-*-go32) obj_format=aout ;; i960-wrs-vxworks | i960-*-nindy*) @@ -284,7 +287,7 @@ case ${with_bfd_assembler}-${bfd_gas} in ;; esac -reject_dev_configs=yes +reject_dev_configs=no case ${reject_dev_configs}-${dev} in yes-yes) # Oops. @@ -303,8 +306,8 @@ links="host.h targ-cpu.c targ-cpu.h targ-env.h obj-format.h obj-format.c atof-ta # post-target: case ${bfd_gas} in - yes) bfddef="BFDDEF=-DBFD_ASSEMBLER" need_bfd=yes ;; - *) bfddef="" ;; + yes) bfddef="BFDDEF=define" need_bfd=yes ;; + *) bfddef="BFDDEF=undef" ;; esac case ${need_bfd} in |