patch to enable NetBSD/sparc ELF & /sparc64 support to gas

matthew green mrg@cygnus.com
Thu Apr 13 20:48:00 GMT 2000


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 ;;


More information about the Binutils mailing list