This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

pull up NetBSD sparc/sparc64 ELF support?




hi folks.


is it possible to include the recently contributed sparc ELF and
sparc64 support for NetBSD in binutils 2.10 ?  the patches were
applied to the binutils tree after the branchpoint.

i have included these changes again below.  they require that
gas/configure be rebuilt.


thanks,

.mrg.


2000-04-14  Matthew Green  <mrg@cygnus.com>
	* gas/configure.in: Add NetBSD/sparc ELF and NetBSD/sparc64 support.

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


2000-04-14  Matthew Green  <mrg@cygnus.com>
	* bfd/config.bfd: Add NetBSD/sparc64 support.

Index: bfd/config.bfd
===================================================================
RCS file: /cvs/src/src/bfd/config.bfd,v
retrieving revision 1.23
diff -p -r1.23 config.bfd
*** config.bfd	2000/04/07 17:06:58	1.23
--- config.bfd	2000/04/14 03:55:44
*************** case "${targ}" in
*** 80,85 ****
--- 80,89 ----
    alpha*-*-*)
      targ_defvec=ecoffalpha_little_vec
      ;;
+   sparc64-*-netbsd*)
+     targ_defvec=bfd_elf64_sparc_vec
+     targ_selvecs="bfd_elf32_sparc_vec sunos_big_vec"
+     ;;
  #endif /* BFD64 */
  
    arc-*-elf*)


2000-04-14  Matthew Green  <mrg@cygnus.com>
	* ld/configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.

Index: ld/configure.tgt
===================================================================
RCS file: /cvs/src/src/ld/configure.tgt,v
retrieving revision 1.24
diff -p -r1.24 configure.tgt
*** configure.tgt	2000/03/27 08:39:13	1.24
--- configure.tgt	2000/04/14 03:55:48
*************** sparc*-*-linux-gnu*)	targ_emul=elf32_spa
*** 55,60 ****
--- 55,62 ----
  			tdir_sun4=sparc-sun-sunos4
  			;;
  sparc*-*-lynxos*)	targ_emul=sparclynx ;;
+ sparc64-*-netbsd*)	targ_emul=elf64_sparc ;;
+ sparc*-*-netbsd*elf*)	targ_emul=elf32_sparc ;;
  sparc*-*-netbsd*)	targ_emul=sparcnbsd ;;
  sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
  			targ_emul=elf32_sparc ;;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]