[PATCH]: Add elf32_sparc emulation to NetBSD/sparc64 linker

Jason R Thorpe thorpej@wasabisystems.com
Wed Dec 19 21:40:00 GMT 2001


The following patch adds elf32_sparc emulation to the sparc64-*-netbsd*
ld target.

	[ for ld/ChangeLog ]
2001-12-20  Jason Thorpe  <thorpej@wasabisystems.com>

	* configure.tgt (sparc64-*-netbsd*): Add elf32_sparc
	to targ_extra_emuls.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>
-------------- next part --------------
Index: ld/configure.tgt
===================================================================
RCS file: /cvs/src/src/ld/configure.tgt,v
retrieving revision 1.73
diff -c -r1.73 configure.tgt
*** configure.tgt	2001/12/20 03:19:43	1.73
--- configure.tgt	2001/12/20 05:00:14
***************
*** 69,75 ****
  			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].*)
--- 69,77 ----
  			tdir_sun4=sparc-sun-sunos4
  			;;
  sparc*-*-lynxos*)	targ_emul=sparclynx ;;
! sparc64-*-netbsd*)	targ_emul=elf64_sparc
! 			targ_extra_emuls="elf32_sparc"
! 			;;
  sparc*-*-netbsd*elf*)	targ_emul=elf32_sparc ;;
  sparc*-*-netbsd*)	targ_emul=sparcnbsd ;;
  sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)


More information about the Binutils mailing list