aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld')
-rw-r--r--ld/emulparams/.Sanitize17
-rw-r--r--ld/emulparams/elf32-sparc.sh7
2 files changed, 24 insertions, 0 deletions
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