From: David O'Brien Date: Mon, 19 Feb 2001 06:24:07 +0000 (+0000) Subject: 001-02-18 David O'Brien X-Git-Tag: binutils-2_11~48 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2c956b905ef9a12bd479cefd8050921ea633a260;p=thirdparty%2Fbinutils-gdb.git 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: --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 4b0fbc93963..ab59ed6e382 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-13 Alan Modra * expr.c (operator): Don't bump input_line_pointer for two char 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 a0f4dfe2396..a8d37100455 100755 --- a/gas/configure +++ b/gas/configure @@ -2385,7 +2385,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 @@ -2584,6 +2583,7 @@ EOF w65-*-*) fmt=coff ;; + *-*-freebsd*) fmt=elf bfd_gas=yes ;; *-*-aout | *-*-scout) fmt=aout ;; *-*-nindy*) diff --git a/gas/configure.in b/gas/configure.in index ad46b8fa1ae..89dd87c86e9 100644 --- a/gas/configure.in +++ b/gas/configure.in @@ -247,7 +247,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 @@ -437,6 +436,7 @@ changequote([,])dnl w65-*-*) fmt=coff ;; + *-*-freebsd*) fmt=elf bfd_gas=yes ;; *-*-aout | *-*-scout) fmt=aout ;; *-*-nindy*)