aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorRob Savoye <rob@cygnus>1996-04-15 20:53:00 +0000
committerRob Savoye <rob@cygnus>1996-04-15 20:53:00 +0000
commit10533b5b48e1bc4ebf9332322de6558bcb8b62c3 (patch)
tree0b332f1ce9b585d9fc98d47b4f2469608fde8a1c /ld
parent7508666f508c2cb7fbda81d4df511a1fecc69687 (diff)
downloadgdb-10533b5b48e1bc4ebf9332322de6558bcb8b62c3.zip
gdb-10533b5b48e1bc4ebf9332322de6558bcb8b62c3.tar.gz
gdb-10533b5b48e1bc4ebf9332322de6558bcb8b62c3.tar.bz2
* scripttempl/aout.sc: Add PROVIDE (__stack = 0) so I can use it
in m68k/crt0.S without things blowing up.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog7
-rw-r--r--ld/scripttempl/aout.sc7
2 files changed, 9 insertions, 5 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 24a1deb..e32b1cc 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,4 +1,9 @@
-Fri Apr 12 16:40:56 1996 Rob Savoye <rob@chinadoll>
+Mon Apr 15 14:50:56 1996 Rob Savoye <rob@chinadoll.cygnus.com>
+
+ * scripttempl/aout.sc: Add PROVIDE (__stack = 0) so I can use it
+ in m68k/crt0.S without things blowing up.
+
+Fri Apr 12 16:40:56 1996 Rob Savoye <rob@chinadoll.cygnus.com>
* scripttempl/m68kcoff.sc: Remove default address for .data so
.text, .data, and .bss are all sequential.
diff --git a/ld/scripttempl/aout.sc b/ld/scripttempl/aout.sc
index f11deea..fcfed01 100644
--- a/ld/scripttempl/aout.sc
+++ b/ld/scripttempl/aout.sc
@@ -1,15 +1,14 @@
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(${ARCH})
-
${RELOCATING+${LIB_SEARCH_DIRS}}
${STACKZERO+${RELOCATING+${STACKZERO}}}
${SHLIB_PATH+${RELOCATING+${SHLIB_PATH}}}
+${RELOCATING+${EXECUTABLE_SYMBOLS}}
+PROVIDE (__stack = 0);
SECTIONS
{
- ${CREATE_SHLIB-${RELOCATING+. = ${TEXT_START_ADDR};}}
- ${CREATE_SHLIB+${RELOCATING+. = SIZEOF_HEADERS;}}
- .text :
+ .text ${TEXT_START_ADDR} :
{
CREATE_OBJECT_SYMBOLS
*(.text)