aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1996-05-10 20:32:07 +0000
committerMichael Meissner <gnu@the-meissners.org>1996-05-10 20:32:07 +0000
commitfb2a7661fb8b0db0271e419e9695ff73c467fab3 (patch)
tree854d1715480745bad2818ea51ee6e558abab30f9 /ld
parentf122568e7264acd787d8a6c28daf31b0709e2bb9 (diff)
downloadgdb-fb2a7661fb8b0db0271e419e9695ff73c467fab3.zip
gdb-fb2a7661fb8b0db0271e419e9695ff73c467fab3.tar.gz
gdb-fb2a7661fb8b0db0271e419e9695ff73c467fab3.tar.bz2
Set __stack = 0 if it is referenced and not defined.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/scripttempl/elfppc.sc2
2 files changed, 7 insertions, 0 deletions
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 <meissner@tiktok.cygnus.com>
+
+ * scripttempl/elfppc.sc (__stack): Make __stack 0 if it was
+ referenced but not defined.
+
Thu May 9 08:52:23 1996 Rob Savoye <rob@chinadoll.cygnus.com>
* 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: */