* emulparams/elf64_sparc.sh (GENERATE_SHLIB_SCRIPT, NOP): New.
+
+ * configure.tgt: Add sparc64-*-linux*.
+ * emulparams/elf64_sparc.sh (GENERATE_SHLIB_SCRIPT, NOP): New.
+
* scripttempl/pe.sc: Put .eh_frame in .rdata.
tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/aout//'`
tdir_sun4=sparc-sun-sunos4
;;
+sparc64-*-linux*) targ_emul=elf64_sparc
+ targ_extra_emuls="elf32_sparc sparclinux sun4"
+ tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'`
+ tdir_sparclinux=${tdir_elf32_sparc}aout
+ tdir_sun4=sparc-sun-sunos4
+ ;;
sparc*-*-linux*) targ_emul=elf32_sparc
targ_extra_emuls="sparclinux sun4"
tdir_sparclinux=${targ_alias}aout
--- /dev/null
+SCRIPT_NAME=elf
+OUTPUT_FORMAT="elf64-sparc"
+TEXT_START_ADDR=0x100200
+MAXPAGESIZE=0x100000
+NONPAGED_TEXT_START_ADDR=0x100200
+ARCH="sparc:v9"
+MACHINE=
+GENERATE_SHLIB_SCRIPT=yes
+NOP=0x01000000