From: Michael Meissner Date: Fri, 10 May 1996 20:32:07 +0000 (+0000) Subject: Set __stack = 0 if it is referenced and not defined. X-Git-Url: http://drtracing.org/?a=commitdiff_plain;ds=sidebyside;h=fb2a7661fb8b0db0271e419e9695ff73c467fab3;p=deliverable%2Fbinutils-gdb.git Set __stack = 0 if it is referenced and not defined. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 36c957bc60..cc438fef98 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +Fri May 10 16:28:44 1996 Michael Meissner + + * scripttempl/elfppc.sc (__stack): Make __stack 0 if it was + referenced but not defined. + Thu May 9 08:52:23 1996 Rob Savoye * emulparams/{elf32bmip.sh,elf32lmip.sh,mipsidt.sh,mipsidtl.sh}: diff --git a/ld/scripttempl/elfppc.sc b/ld/scripttempl/elfppc.sc index ac1027b8af..a2cb2ed178 100644 --- a/ld/scripttempl/elfppc.sc +++ b/ld/scripttempl/elfppc.sc @@ -42,6 +42,8 @@ ${RELOCATING- /* For some reason, the Solaris linker makes bad executables if gld -r is used and the intermediate file has sections starting at non-zero addresses. Could be a Solaris ld bug, could be a GNU ld bug. But for now assigning the zero vmas works. */} + +${RELOCATING+PROVIDE (__stack = 0);} SECTIONS { /* Read-only sections, merged into text segment: */