]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* scripttempl/aout.sc: Add PROVIDE (__stack = 0) so I can use it
authorRob Savoye <rob@cygnus>
Mon, 15 Apr 1996 20:53:00 +0000 (20:53 +0000)
committerRob Savoye <rob@cygnus>
Mon, 15 Apr 1996 20:53:00 +0000 (20:53 +0000)
in m68k/crt0.S without things blowing up.

ld/ChangeLog
ld/scripttempl/aout.sc

index 24a1deb3bdadc1136837d49da2c0cbc4c9929be9..e32b1cc6e7c1fa0209823adfb9558caffb5b4553 100644 (file)
@@ -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.
index f11deeacaee5f2b04fa0646efda974130e2613cd..fcfed0112ccac6e12cc260bd6d633a5f275089fa 100644 (file)
@@ -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)