fix sparc target, fine GNU style as usual, NOT.

This commit is contained in:
brad 2004-04-11 13:57:32 +00:00
parent 90009c5f12
commit 3595331e1f

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-gas_configure_in,v 1.14 2003/10/11 00:52:22 brad Exp $
$OpenBSD: patch-gas_configure_in,v 1.15 2004/04/11 13:57:32 brad Exp $
--- gas/configure.in.orig 2003-06-02 16:35:23.000000000 -0400
+++ gas/configure.in 2003-09-04 20:17:26.000000000 -0400
+++ gas/configure.in 2004-04-11 07:40:52.000000000 -0400
@@ -197,7 +197,8 @@ changequote([,])dnl
arm*-*-linux-gnu*) fmt=elf em=linux ;;
arm*-*-uclinux*) fmt=elf em=linux ;;
@ -81,7 +81,7 @@ $OpenBSD: patch-gas_configure_in,v 1.14 2003/10/11 00:52:22 brad Exp $
sparc-*-rtemsaout*) fmt=aout ;;
sparc-*-rtemself*) fmt=elf ;;
@@ -455,10 +469,21 @@ changequote([,])dnl
@@ -455,10 +469,18 @@ changequote([,])dnl
sparc-*-sysv4*) fmt=elf ;;
sparc-*-solaris*) fmt=elf ;;
sparc-*-netbsdelf*) fmt=elf em=nbsd ;;
@ -91,16 +91,13 @@ $OpenBSD: patch-gas_configure_in,v 1.14 2003/10/11 00:52:22 brad Exp $
*) fmt=aout em=nbsd ;;
esac ;;
+changequote(,)dnl
+ sparc-*-openbsd*) em=obsd bfd_gas=yes
+ case ${os} in
+ openbsd[0-2].* | openbsd3.[0-1])
+ fmt=aout ;;
+ *)
+ fmt=elf ;;
+ esac
+ ;;
+ sparc-*-openbsd[0-2].* | sparc-*-openbsd3.[0-1])
+ case ${cpu} in
+ sparc64) fmt=elf em=obsd ;;
+ *) fmt=aout em=obsd ;;
+ esac ;;
+changequote([,])dnl
+ sparc64-*-openbsd*) em=obsd bfd_gas=yes fmt=elf ;;
+ sparc-*-openbsd*) fmt=elf em=obsd ;;
strongarm-*-coff) fmt=coff ;;
strongarm-*-elf) fmt=elf ;;
strongarm-*-kaos*) fmt=elf ;;