* aout.sc-sh: Add SHLIB_PATH like STACKZERO. Make STACKZERO
authorKen Raeburn <raeburn@cygnus>
Wed, 16 Jun 1993 03:06:33 +0000 (03:06 +0000)
committerKen Raeburn <raeburn@cygnus>
Wed, 16 Jun 1993 03:06:33 +0000 (03:06 +0000)
dependent on RELOCATING, not RELOCATION.
* hp3hpux.sh (SHLIB_PATH): Define it.

ld/aout.sc-sh
ld/hp3hpux.sh

index 777c9bc6e49a73da148e514b726165626e466755..06439252dd1f28721cd501db735138f98d8f1518 100755 (executable)
@@ -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}}:
index d4aadcb6f6f65c6f21b39632312201d5826bde7d..bd066c3c42d00b7748cf44f894e3ad376f938625 100644 (file)
@@ -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;"