Solaris 2 support; sparc64 sanitization.
authorKen Raeburn <raeburn@cygnus>
Mon, 12 Jul 1993 15:01:15 +0000 (15:01 +0000)
committerKen Raeburn <raeburn@cygnus>
Mon, 12 Jul 1993 15:01:15 +0000 (15:01 +0000)
ld/emulparams/.Sanitize
ld/emulparams/elf32-sparc.sh [new file with mode: 0644]

index c2010dcea0a0a69d54bafea55889d10e2455e220..c893b23bf9602a8988e8bbe68eb9c9ab50680474 100644 (file)
@@ -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 (file)
index 0000000..6e647b8
--- /dev/null
@@ -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