aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elfppc.sc
diff options
context:
space:
mode:
Diffstat (limited to 'ld/scripttempl/elfppc.sc')
-rw-r--r--ld/scripttempl/elfppc.sc2
1 files changed, 2 insertions, 0 deletions
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: */