Add sparc-netbsdelf by request of mrg.
[pkgsrc.git] / cross / sparc-netbsdelf / patches / patch-aa
1 $NetBSD: patch-aa,v 1.3 1999/01/31 23:35:40 tv Exp $
2
3 --- ./gas/configure.orig        Fri May  1 11:45:07 1998
4 +++ ./gas/configure     Mon Dec 28 17:43:29 1998
5 @@ -1610,7 +1613,15 @@
6        sparc-fujitsu-none)   fmt=aout ;;
7        sparc-*-elf | sparc-*-sysv4* | sparc-*-solaris*)
8                             fmt=elf ;;
9 -      sparc-*-netbsd*)      fmt=aout em=nbsd bfd_gas=yes ;;
10 +      sparc-*-netbsd*)      em=nbsd bfd_gas=yes
11 +                           case ${cpu} in
12 +                               sparc) case ${os} in
13 +                                          *elf*) fmt=elf ;;
14 +                                          *)     fmt=aout ;;
15 +                                      esac ;;
16 +                               sparc64) fmt=elf ;;
17 +                           esac
18 +                           ;;
19        sparc-*-openbsd*)     fmt=aout em=nbsd bfd_gas=yes ;;
20  
21        tic30-*-*aout*)      fmt=aout bfd_gas=yes ;;