From 3595331e1f5e034e761114efb418ea0c65cbe9dd Mon Sep 17 00:00:00 2001 From: brad Date: Sun, 11 Apr 2004 13:57:32 +0000 Subject: [PATCH] fix sparc target, fine GNU style as usual, NOT. --- .../stable/patches/patch-gas_configure_in | 21 ++++++++----------- 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/devel/binutils/stable/patches/patch-gas_configure_in b/devel/binutils/stable/patches/patch-gas_configure_in index a959bf3ec38..33242e8166b 100644 --- a/devel/binutils/stable/patches/patch-gas_configure_in +++ b/devel/binutils/stable/patches/patch-gas_configure_in @@ -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 ;;