From: Ken Raeburn Date: Thu, 8 Jul 1993 22:44:34 +0000 (+0000) Subject: initial v9 stuff X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=f90bb826e51c771bc6d1aeba49a328256feec24e;p=deliverable%2Fbinutils-gdb.git initial v9 stuff --- diff --git a/ld/config/sparc64-elf.mt b/ld/config/sparc64-elf.mt new file mode 100644 index 0000000000..5cab18e10c --- /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 d3a45b48ff..1bf0aab3e2 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 0000000000..df6a3cbb60 --- /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 0000000000..06439252dd --- /dev/null +++ b/ld/scripttempl/elf.sc @@ -0,0 +1,32 @@ +cat <