aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-07-12 15:01:15 +0000
committerKen Raeburn <raeburn@cygnus>1993-07-12 15:01:15 +0000
commite900b30cae08bc422903dd3719b14b6951ca3ea1 (patch)
tree5551feeb62e499f5ad95f19a5c5ff64f32982e71 /ld
parentdc31b55093003dbcd84b3375c88235ba5c9a396f (diff)
downloadgdb-e900b30cae08bc422903dd3719b14b6951ca3ea1.zip
gdb-e900b30cae08bc422903dd3719b14b6951ca3ea1.tar.gz
gdb-e900b30cae08bc422903dd3719b14b6951ca3ea1.tar.bz2
Solaris 2 support; sparc64 sanitization.
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