xstormy16 patch for new memory layout
Geoffrey Keating
geoffk@cygnus.com
Mon Jan 28 10:22:00 GMT 2002
This little patch updates the xstormy16 linker scripts for the new
memory layout, in which the heap grows downwards.
--
Geoff Keating <geoffk@redhat.com>
====================
Index: devo/ld/ChangeLog
2002-01-19 Geoffrey Keating <geoffk@redhat.com>
* scripttempl/xstormy16.sc: Don't allocate extra space for the
stack.
Index: devo/ld/scripttempl/xstormy16.sc
===================================================================
RCS file: /cvs/cvsfiles/devo/ld/scripttempl/xstormy16.sc,v
retrieving revision 1.1
diff -p -u -p -r1.1 xstormy16.sc
--- xstormy16.sc 2001/11/09 09:14:42 1.1
+++ xstormy16.sc 2002/01/28 15:00:50
@@ -144,9 +144,8 @@ SECTIONS
} > RAM
${RELOCATING+${OTHER_BSS_SECTIONS}}
${RELOCATING+. = ALIGN(${ALIGNMENT});}
- ${RELOCATING+__stack = .;}
- ${RELOCATING+. = . + 4096;}
${RELOCATING+_end = .;}
+ ${RELOCATING+__stack = .;}
${RELOCATING+${OTHER_BSS_END_SYMBOLS}}
${RELOCATING+PROVIDE (end = .);}
====================
More information about the Binutils
mailing list