aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorDavid O'Brien <obrien@FreeBSD.org>2001-02-19 06:40:29 +0000
committerDavid O'Brien <obrien@FreeBSD.org>2001-02-19 06:40:29 +0000
commitcac5b87b93dc989b1d6c0db9e0c916b7fd8b29d6 (patch)
treebdb03c0f5849361664db8dade515ae312f9c35b4 /gas
parentd4af977521b974ac3ac87723eeb3ee57d7a5d3dc (diff)
downloadgdb-cac5b87b93dc989b1d6c0db9e0c916b7fd8b29d6.zip
gdb-cac5b87b93dc989b1d6c0db9e0c916b7fd8b29d6.tar.gz
gdb-cac5b87b93dc989b1d6c0db9e0c916b7fd8b29d6.tar.bz2
001-02-18 David O'Brien <obrien@FreeBSD.org>
* 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 <philb@gnu.org> Message-Id: <E14URxF-00023n-00@kings-cross.london.uk.eu.org>
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/config/tc-i386.h3
-rwxr-xr-xgas/configure2
-rw-r--r--gas/configure.in2
4 files changed, 12 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index deb17cb..8168c86 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,10 @@
+001-02-18 David O'Brien <obrien@FreeBSD.org>
+
+ * 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 <lars@nocrew.org>
* Makefile.am: Add PDP-11 target.
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h
index 3a66177..a68d5e4 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 85504cc..d5a9064 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 ed37ed3..e8ccb62 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*)