* 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 2f5c5a1d147aefc0df4bd6c5081ce58330260793..48976ca05071d6db961f431343192877a59589af 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 9bb69298491cd0d115cc45dda058da31722536ec..fec36f754fe1324d06b25041547925f9b1d49c54 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 ;;