From e900b30cae08bc422903dd3719b14b6951ca3ea1 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Mon, 12 Jul 1993 15:01:15 +0000 Subject: Solaris 2 support; sparc64 sanitization. --- ld/emulparams/.Sanitize | 17 +++++++++++++++++ ld/emulparams/elf32-sparc.sh | 7 +++++++ 2 files changed, 24 insertions(+) create mode 100644 ld/emulparams/elf32-sparc.sh (limited to 'ld/emulparams') diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize index c2010dc..c893b23 100644 --- a/ld/emulparams/.Sanitize +++ b/ld/emulparams/.Sanitize @@ -27,6 +27,8 @@ Things-to-keep: README a29k.sh ebmon29k.sh +elf32-sparc.sh +elf64-sparc.sh gld960.sh go32.sh h8300.sh @@ -63,3 +65,18 @@ Things-to-lose: Do-last: +if ( echo $* | grep keep-v9 > /dev/null ) ; then + if [ -n "${verbose}" ] ; then + echo Keeping `pwd`/elf64-sparc.sh. + fi +else + if [ -n "${verbose}" ] ; then + echo Removing `pwd`/elf64-sparc.sh. + fi + if [ -n "${safe}" ] ; then + mv elf64-sparc.sh .Recover + else + rm elf64-sparc.sh + fi +fi + diff --git a/ld/emulparams/elf32-sparc.sh b/ld/emulparams/elf32-sparc.sh new file mode 100644 index 0000000..6e647b8 --- /dev/null +++ b/ld/emulparams/elf32-sparc.sh @@ -0,0 +1,7 @@ +EMULATION_NAME=elf32_sparc +SCRIPT_NAME=elf +OUTPUT_FORMAT="elf32-sparc" +TEXT_START_ADDR=0x100200 +PAGE_SIZE=0x100000 +NONPAGED_TEXT_START_ADDR=0x100200 +ARCH=sparc -- cgit v1.1