diff options
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 7 | ||||
-rw-r--r-- | ld/scripttempl/aout.sc | 7 |
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) |