summaryrefslogtreecommitdiff
path: root/cross/sparc-netbsdelf/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'cross/sparc-netbsdelf/patches/patch-aa')
-rw-r--r--cross/sparc-netbsdelf/patches/patch-aa21
1 files changed, 21 insertions, 0 deletions
diff --git a/cross/sparc-netbsdelf/patches/patch-aa b/cross/sparc-netbsdelf/patches/patch-aa
new file mode 100644
index 00000000000..c94c3cc8eeb
--- /dev/null
+++ b/cross/sparc-netbsdelf/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/02/03 13:00:43 tv Exp $
+
+--- ./gas/configure.orig Fri May 1 11:45:07 1998
++++ ./gas/configure Mon Dec 28 17:43:29 1998
+@@ -1610,7 +1613,15 @@
+ sparc-fujitsu-none) fmt=aout ;;
+ sparc-*-elf | sparc-*-sysv4* | sparc-*-solaris*)
+ fmt=elf ;;
+- sparc-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes ;;
++ sparc-*-netbsd*) em=nbsd bfd_gas=yes
++ case ${cpu} in
++ sparc) case ${os} in
++ *elf*) fmt=elf ;;
++ *) fmt=aout ;;
++ esac ;;
++ sparc64) fmt=elf ;;
++ esac
++ ;;
+ sparc-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes ;;
+
+ tic30-*-*aout*) fmt=aout bfd_gas=yes ;;