This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
patch to enable NetBSD/sparc ELF & /sparc64 support to gas
- To: binutils at sourceware dot cygnus dot com
- subject: patch to enable NetBSD/sparc ELF & /sparc64 support to gas
- From: matthew green <mrg at cygnus dot com>
- Date: Fri, 14 Apr 2000 13:47:47 +1000
- organisation: Cygnus Solutions, a Red Hat company.
please apply this patch to gas/configure.in. it adds support for
NetBSD/sparc ELF, and NetBSD/sparc64.
thanks.
Index: gas/configure.in
===================================================================
RCS file: /cvs/src/src/gas/configure.in,v
retrieving revision 1.20
diff -p -r1.20 configure.in
*** configure.in 2000/04/09 12:17:40 1.20
--- configure.in 2000/04/14 03:45:14
*************** changequote([,])dnl
*** 360,366 ****
sparc-fujitsu-none) fmt=aout ;;
sparc-*-elf | sparc-*-sysv4* | sparc-*-solaris*)
fmt=elf ;;
! sparc-*-netbsd*) fmt=aout em=nbsd ;;
sparc-*-openbsd*) fmt=aout em=nbsd ;;
strongarm-*-coff) fmt=coff ;;
--- 360,374 ----
sparc-fujitsu-none) fmt=aout ;;
sparc-*-elf | sparc-*-sysv4* | sparc-*-solaris*)
fmt=elf ;;
! 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 ;;
strongarm-*-coff) fmt=coff ;;