diff options
author | Michael Meissner <gnu@the-meissners.org> | 1996-05-10 20:32:07 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1996-05-10 20:32:07 +0000 |
commit | fb2a7661fb8b0db0271e419e9695ff73c467fab3 (patch) | |
tree | 854d1715480745bad2818ea51ee6e558abab30f9 /ld/scripttempl | |
parent | f122568e7264acd787d8a6c28daf31b0709e2bb9 (diff) | |
download | gdb-fb2a7661fb8b0db0271e419e9695ff73c467fab3.zip gdb-fb2a7661fb8b0db0271e419e9695ff73c467fab3.tar.gz gdb-fb2a7661fb8b0db0271e419e9695ff73c467fab3.tar.bz2 |
Set __stack = 0 if it is referenced and not defined.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r-- | ld/scripttempl/elfppc.sc | 2 |
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: */ |