aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-04-11 22:31:37 +0000
committerMark Kettenis <kettenis@gnu.org>2005-04-11 22:31:37 +0000
commit333f7af7b20907c6dc4e188a7cb4d8118958a049 (patch)
tree97aa3a3c0b687506e0db1045136fc94dc0240acc /gas
parentab82c5b97fcf97e081a3ea5e2291882963fecdae (diff)
downloadgdb-333f7af7b20907c6dc4e188a7cb4d8118958a049.zip
gdb-333f7af7b20907c6dc4e188a7cb4d8118958a049.tar.gz
gdb-333f7af7b20907c6dc4e188a7cb4d8118958a049.tar.bz2
* configure.tgt (generic_target): Add support for OpenBSD/i386 ELF.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/configure.tgt5
2 files changed, 8 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 2f5c5a1..48976ca 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-11 Mark Kettenis <kettenis@gnu.org>
+
+ * configure.tgt (generic_target): Add support for OpenBSD/i386 ELF.
+
2005-04-11 Jan Beulich <jbeulich@novell.com>
* NEWS: Mention these changes and their effects.
diff --git a/gas/configure.tgt b/gas/configure.tgt
index 9bb6929..fec36f7 100644
--- a/gas/configure.tgt
+++ b/gas/configure.tgt
@@ -182,11 +182,14 @@ case ${generic_target} in
i386-*-netbsd*-gnu* | \
i386-*-knetbsd*-gnu | \
i386-*-netbsdelf*) fmt=elf em=nbsd ;;
- i386-*-*n*bsd*)
+ i386-*-netbsd*)
case ${cpu} in
x86_64) fmt=elf em=nbsd ;;
*) fmt=aout em=nbsd ;;
esac ;;
+ i386-*-openbsd[0-2].* | \
+ i386-*-openbsd3.[0-2]) fmt=aout em=nbsd ;;
+ i386-*-openbsd*) fmt=elf em=nbsd ;;
i386-*-linux*aout*) fmt=aout em=linux ;;
i386-*-linux*oldld) fmt=aout em=linux ;;
i386-*-linux*coff*) fmt=coff em=linux ;;