diff options
author | Ken Raeburn <raeburn@cygnus> | 1993-06-16 03:06:33 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1993-06-16 03:06:33 +0000 |
commit | 31038b78a583d6be262faceb9cba0da09ee71675 (patch) | |
tree | cae7990315cb38932b9abaaa1d1740d3124754ad /ld | |
parent | 7dd31d058de0ec702a14672f6dcfa85c75c88980 (diff) | |
download | gdb-31038b78a583d6be262faceb9cba0da09ee71675.zip gdb-31038b78a583d6be262faceb9cba0da09ee71675.tar.gz gdb-31038b78a583d6be262faceb9cba0da09ee71675.tar.bz2 |
* aout.sc-sh: Add SHLIB_PATH like STACKZERO. Make STACKZERO
dependent on RELOCATING, not RELOCATION.
* hp3hpux.sh (SHLIB_PATH): Define it.
Diffstat (limited to 'ld')
-rwxr-xr-x | ld/aout.sc-sh | 3 | ||||
-rw-r--r-- | ld/hp3hpux.sh | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ld/aout.sc-sh b/ld/aout.sc-sh index 777c9bc..0643925 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 d4aadcb..bd066c3 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;" |