a 32bit sparc ELF cross compiler. stolen from the sparc64 one.

This commit is contained in:
mrg 1999-02-03 23:01:08 +00:00
parent ffbeca0461
commit 8373d563b1
3 changed files with 23 additions and 2 deletions

View file

@ -0,0 +1,21 @@
$NetBSD: patch-ab,v 1.1.1.1 1999/02/03 23:01:08 mrg Exp $
--- ./gas/configure.in.orig Fri May 1 11:45:07 1998
+++ ./gas/configure.in 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 ;;

View file

@ -1 +1 @@
Cross-compile environment for NetBSD/sparc with ELF objects
Cross-compile environment for 32-bit ELF NetBSD/sparc

View file

@ -1 +1 @@
This cross-compile environment is for NetBSD/sparc with ELF objects.
This cross-compile environment is for 32-bit ELF NetBSD/sparc.