aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-04-28 23:04:12 +0000
committerKen Raeburn <raeburn@cygnus>1993-04-28 23:04:12 +0000
commit5b4249d76cce1dfa9b938f1ba20cd3a7067b4d8d (patch)
treea707e4abbdf7ae212042e42aa0497c06f4b8ee5a /ld
parentbafe0602a0cc2e5e49d8b4e4e6bf4ab18052e27b (diff)
downloadgdb-5b4249d76cce1dfa9b938f1ba20cd3a7067b4d8d.zip
gdb-5b4249d76cce1dfa9b938f1ba20cd3a7067b4d8d.tar.gz
gdb-5b4249d76cce1dfa9b938f1ba20cd3a7067b4d8d.tar.bz2
changes for hp300hpux -- won't be enabled until bfd work is done
Diffstat (limited to 'ld')
-rwxr-xr-xld/aout.sc-sh1
-rw-r--r--ld/config/hp300hpux.mt1
-rw-r--r--ld/hp3hpux.sh7
3 files changed, 9 insertions, 0 deletions
diff --git a/ld/aout.sc-sh b/ld/aout.sc-sh
index 5a5bd24..777c9bc 100755
--- a/ld/aout.sc-sh
+++ b/ld/aout.sc-sh
@@ -4,6 +4,7 @@ OUTPUT_ARCH(${ARCH})
${RELOCATING+${LIB_SEARCH_DIRS}}
${RELOCATING+__DYNAMIC = 0;}
+${STACKZERO+${RELOCATION+${STACKZERO}}}
SECTIONS
{
.text ${RELOCATING+${TEXT_START_ADDR}}:
diff --git a/ld/config/hp300hpux.mt b/ld/config/hp300hpux.mt
new file mode 100644
index 0000000..5a6571e
--- /dev/null
+++ b/ld/config/hp300hpux.mt
@@ -0,0 +1 @@
+EMUL=hp300hpux
diff --git a/ld/hp3hpux.sh b/ld/hp3hpux.sh
new file mode 100644
index 0000000..d4aadcb
--- /dev/null
+++ b/ld/hp3hpux.sh
@@ -0,0 +1,7 @@
+EMULATION_NAME=hp3hpux
+SCRIPT_NAME=aout
+OUTPUT_FORMAT="a.out-hp300hpux"
+TEXT_START_ADDR=0
+PAGE_SIZE=4096
+ARCH=m68k
+STACKZERO="___stack_zero = 0x2000;"