From fb2a7661fb8b0db0271e419e9695ff73c467fab3 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Fri, 10 May 1996 20:32:07 +0000 Subject: Set __stack = 0 if it is referenced and not defined. --- ld/ChangeLog | 5 +++++ ld/scripttempl/elfppc.sc | 2 ++ 2 files changed, 7 insertions(+) (limited to 'ld') diff --git a/ld/ChangeLog b/ld/ChangeLog index 36c957b..cc438fe 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 ac1027b..a2cb2ed 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: */ -- cgit v1.1