From 5b4249d76cce1dfa9b938f1ba20cd3a7067b4d8d Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 28 Apr 1993 23:04:12 +0000 Subject: [PATCH] changes for hp300hpux -- won't be enabled until bfd work is done --- ld/aout.sc-sh | 1 + ld/config/hp300hpux.mt | 1 + ld/hp3hpux.sh | 7 +++++++ 3 files changed, 9 insertions(+) create mode 100644 ld/config/hp300hpux.mt create mode 100644 ld/hp3hpux.sh diff --git a/ld/aout.sc-sh b/ld/aout.sc-sh index 5a5bd24538c..777c9bc6e49 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 00000000000..5a6571e739b --- /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 00000000000..d4aadcb6f6f --- /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;" -- 2.30.2