summaryrefslogtreecommitdiff
path: root/gas/configure.tgt
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/configure.tgt
parentab82c5b97fcf97e081a3ea5e2291882963fecdae (diff)
downloadbinutils-gdb-333f7af7b20907c6dc4e188a7cb4d8118958a049.tar.gz
* configure.tgt (generic_target): Add support for OpenBSD/i386 ELF.
Diffstat (limited to 'gas/configure.tgt')
-rw-r--r--gas/configure.tgt5
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/configure.tgt b/gas/configure.tgt
index 9bb69298491..fec36f754fe 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 ;;