diff options
-rwxr-xr-x | ld/aout.sc-sh | 1 | ||||
-rw-r--r-- | ld/config/hp300hpux.mt | 1 | ||||
-rw-r--r-- | ld/hp3hpux.sh | 7 |
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;" |