This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

xstormy16 patch for new memory layout



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 = .);}
 
====================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]