* configure.tgt (generic_target): Add support for OpenBSD/i386 ELF.
authorMark Kettenis <kettenis@gnu.org>
Mon, 11 Apr 2005 22:31:37 +0000 (22:31 +0000)
committerMark Kettenis <kettenis@gnu.org>
Mon, 11 Apr 2005 22:31:37 +0000 (22:31 +0000)
gas/ChangeLog
gas/configure.tgt

index 2f5c5a1..48976ca 100644 (file)
@@ -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.
index 9bb6929..fec36f7 100644 (file)
@@ -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 ;;