From: Ken Raeburn Date: Wed, 16 Jun 1993 03:06:33 +0000 (+0000) Subject: * aout.sc-sh: Add SHLIB_PATH like STACKZERO. Make STACKZERO X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=31038b78a583d6be262faceb9cba0da09ee71675;p=binutils-gdb.git * aout.sc-sh: Add SHLIB_PATH like STACKZERO. Make STACKZERO dependent on RELOCATING, not RELOCATION. * hp3hpux.sh (SHLIB_PATH): Define it. --- diff --git a/ld/aout.sc-sh b/ld/aout.sc-sh index 777c9bc6e49..06439252dd1 100755 --- a/ld/aout.sc-sh +++ b/ld/aout.sc-sh @@ -4,7 +4,8 @@ OUTPUT_ARCH(${ARCH}) ${RELOCATING+${LIB_SEARCH_DIRS}} ${RELOCATING+__DYNAMIC = 0;} -${STACKZERO+${RELOCATION+${STACKZERO}}} +${STACKZERO+${RELOCATING+${STACKZERO}}} +${SHLIB_PATH+${RELOCATING+${SHLIB_PATH}}} SECTIONS { .text ${RELOCATING+${TEXT_START_ADDR}}: diff --git a/ld/hp3hpux.sh b/ld/hp3hpux.sh index d4aadcb6f6f..bd066c3c42d 100644 --- a/ld/hp3hpux.sh +++ b/ld/hp3hpux.sh @@ -5,3 +5,5 @@ TEXT_START_ADDR=0 PAGE_SIZE=4096 ARCH=m68k STACKZERO="___stack_zero = 0x2000;" +# This is needed for HPUX 9.0; it is unnecessary but harmless for 8.0. +SHLIB_PATH="___dld_shlib_path = 0;"