aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-02-10 00:58:38 +0000
committerNick Clifton <nickc@redhat.com>2001-02-10 00:58:38 +0000
commita85d7ed0f0b65504f7d8027319d1a4a9adb9d8c1 (patch)
treed46823b360b1d614fb1c65de41cdc778a68984ff /ld/emulparams
parent356d255deb0cb49d4dade90addbb7bdcde0d7e36 (diff)
downloadgdb-a85d7ed0f0b65504f7d8027319d1a4a9adb9d8c1.zip
gdb-a85d7ed0f0b65504f7d8027319d1a4a9adb9d8c1.tar.gz
gdb-a85d7ed0f0b65504f7d8027319d1a4a9adb9d8c1.tar.bz2
Add s390 support
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/elf64_s390.sh11
-rw-r--r--ld/emulparams/elf_s390.sh10
2 files changed, 21 insertions, 0 deletions
diff --git a/ld/emulparams/elf64_s390.sh b/ld/emulparams/elf64_s390.sh
new file mode 100644
index 0000000..1ba223e
--- /dev/null
+++ b/ld/emulparams/elf64_s390.sh
@@ -0,0 +1,11 @@
+SCRIPT_NAME=elf
+ELFSIZE=64
+OUTPUT_FORMAT="elf64-s390"
+TEXT_START_ADDR=0x80000000
+MAXPAGESIZE=0x1000
+NONPAGED_TEXT_START_ADDR=0x80000000
+ARCH="s390:esame"
+MACHINE=
+NOP=0x0707
+TEMPLATE_NAME=elf32
+GENERATE_SHLIB_SCRIPT=yes
diff --git a/ld/emulparams/elf_s390.sh b/ld/emulparams/elf_s390.sh
new file mode 100644
index 0000000..6fa3836
--- /dev/null
+++ b/ld/emulparams/elf_s390.sh
@@ -0,0 +1,10 @@
+SCRIPT_NAME=elf
+OUTPUT_FORMAT="elf32-s390"
+TEXT_START_ADDR=0x00400000
+MAXPAGESIZE=0x1000
+NONPAGED_TEXT_START_ADDR=0x00400000
+ARCH=s390
+MACHINE=
+NOP=0x0707
+TEMPLATE_NAME=elf32
+GENERATE_SHLIB_SCRIPT=yes