aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
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/scripttempl
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/scripttempl')
-rw-r--r--ld/scripttempl/aout.sc7
1 files changed, 3 insertions, 4 deletions
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)