From da1f2fec05a91ec33f75fde46c4ec2c091b2d5e3 Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Fri, 1 Feb 2002 18:00:36 +0000 Subject: [PATCH] In ld/ChangeLog: * scripttempl/xstormy16.sc: Don't allocate extra space for the stack. In libgloss/ChangeLog: * xstormy16/Makefile.in (SIM_OBJS): Remove sbrk.o, add sim_malloc_start.o. * xstormy16/eva_app.ld: Add __malloc_start. * xstormy16/sbrk.c: Remove. * xstormy16/sim_malloc_start.s: New file. * xstormy16/sim_high.ld: Make the stack start immediately at the end of the program. In newlib/ChangeLog: * configure.host (xstormy16): Don't use the generic malloc. * libc/machine/xstormy16/Makefile.am: Build tiny-malloc. * libc/machine/xstormy16/Makefile.in: Regenerate. * libc/machine/xstormy16/mallocr.c: New file. * libc/machine/xstormy16/tiny-malloc.c: New file. --- ld/ChangeLog | 5 +++++ ld/scripttempl/xstormy16.sc | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 1ab57bc..becfd47 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2002-02-01 Geoffrey Keating + + * scripttempl/xstormy16.sc: Don't allocate extra space for the + stack. + 2002-02-01 Hans-Peter Nilsson Support on-demand global register allocation from diff --git a/ld/scripttempl/xstormy16.sc b/ld/scripttempl/xstormy16.sc index d504e18..8981f2d 100644 --- a/ld/scripttempl/xstormy16.sc +++ b/ld/scripttempl/xstormy16.sc @@ -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 = .);} -- 2.7.4