From: Ken Raeburn Date: Thu, 8 Jul 1993 22:44:34 +0000 (+0000) Subject: initial v9 stuff X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f90bb826e51c771bc6d1aeba49a328256feec24e;p=binutils-gdb.git initial v9 stuff --- diff --git a/ld/config/sparc64-elf.mt b/ld/config/sparc64-elf.mt new file mode 100644 index 00000000000..5cab18e10c9 --- /dev/null +++ b/ld/config/sparc64-elf.mt @@ -0,0 +1,5 @@ +EMUL=elf64_sparc +OTHER_EMULATIONS= em_elf64_sparc.o +em_elf64_sparc.c: $(srcdir)/emulparams/elf64-sparc.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} elf64-sparc.sh diff --git a/ld/configure.in b/ld/configure.in index d3a45b48ff1..1bf0aab3e22 100644 --- a/ld/configure.in +++ b/ld/configure.in @@ -30,6 +30,8 @@ case "${target}" in sparc*-*-aout) my_target=sun4 ;; # start-sanitize-v9 + sparc64-*-elf*) my_target=sparc64-elf + ;; sparc64*) my_target=sun4 ;; # end-sanitize-v9 diff --git a/ld/emulparams/elf64-sparc.sh b/ld/emulparams/elf64-sparc.sh new file mode 100644 index 00000000000..df6a3cbb60b --- /dev/null +++ b/ld/emulparams/elf64-sparc.sh @@ -0,0 +1,7 @@ +EMULATION_NAME=elf64_sparc +SCRIPT_NAME=elf +OUTPUT_FORMAT="elf64-sparc" +TEXT_START_ADDR=0x2020 +PAGE_SIZE=0x2000 +NONPAGED_TEXT_START_ADDR=0x2000 +ARCH=sparc diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc new file mode 100644 index 00000000000..06439252dd1 --- /dev/null +++ b/ld/scripttempl/elf.sc @@ -0,0 +1,32 @@ +cat <