From cac5b87b93dc989b1d6c0db9e0c916b7fd8b29d6 Mon Sep 17 00:00:00 2001 From: David O'Brien Date: Mon, 19 Feb 2001 06:40:29 +0000 Subject: [PATCH] 001-02-18 David O'Brien * configure.in (cpu_type, arch): Add a generic FreeBSD specification as all FreeBSD platforms should look the same at this level. * configure: Rebuilt. * config/tc-i386.c: Add support for old FreeBSD a.out hosts. Approved by: Philip Blundell Message-Id: --- gas/ChangeLog | 7 +++++++ gas/config/tc-i386.h | 3 +++ gas/configure | 2 +- gas/configure.in | 2 +- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index deb17cb0a16..8168c86e1e4 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +001-02-18 David O'Brien + + * configure.in (cpu_type, arch): Add a generic FreeBSD specification as + all FreeBSD platforms should look the same at this level. + * configure: Rebuilt. + * config/tc-i386.c: Add support for old FreeBSD a.out hosts. + 2001-02-18 lars brinkhoff * Makefile.am: Add PDP-11 target. diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h index 3a66177cecb..a68d5e49267 100644 --- a/gas/config/tc-i386.h +++ b/gas/config/tc-i386.h @@ -75,6 +75,9 @@ extern int tc_i386_fix_adjustable PARAMS ((struct fix *)); #define TARGET_MACH (i386_mach ()) extern unsigned long i386_mach PARAMS ((void)); +#ifdef TE_FreeBSD +#define AOUT_TARGET_FORMAT "a.out-i386-freebsd" +#endif #ifdef TE_NetBSD #define AOUT_TARGET_FORMAT "a.out-i386-netbsd" #endif diff --git a/gas/configure b/gas/configure index 85504cc44e2..d5a90649ad0 100755 --- a/gas/configure +++ b/gas/configure @@ -2387,7 +2387,6 @@ for this_target in $target $canon_targets ; do fmt=elf bfd_gas=yes ;; i386-*-freebsdaout* | i386-*-freebsd[12].* | i386-*-freebsd[12]) fmt=aout em=386bsd ;; - i386-*-freebsd*) fmt=elf bfd_gas=yes ;; i386-*-coff | i386-*-sysv* | i386-*-sco3.2v5*coff | i386-*-isc*) fmt=coff ;; i386-*-sco3.2v5*) fmt=elf @@ -2591,6 +2590,7 @@ EOF *-*-aout | *-*-scout) fmt=aout ;; + *-*-freebsd*) fmt=elf bfd_gas=yes ;; *-*-nindy*) fmt=bout ;; *-*-bsd*) diff --git a/gas/configure.in b/gas/configure.in index ed37ed3d7b3..e8ccb624ecb 100644 --- a/gas/configure.in +++ b/gas/configure.in @@ -249,7 +249,6 @@ changequote(,)dnl i386-*-freebsdaout* | i386-*-freebsd[12].* | i386-*-freebsd[12]) fmt=aout em=386bsd ;; changequote([,])dnl - i386-*-freebsd*) fmt=elf bfd_gas=yes ;; i386-*-coff | i386-*-sysv* | i386-*-sco3.2v5*coff | i386-*-isc*) fmt=coff ;; i386-*-sco3.2v5*) fmt=elf @@ -444,6 +443,7 @@ changequote([,])dnl *-*-aout | *-*-scout) fmt=aout ;; + *-*-freebsd*) fmt=elf bfd_gas=yes ;; *-*-nindy*) fmt=bout ;; *-*-bsd*) -- 2.30.2