aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@geoffk.org>2002-02-01 18:00:36 +0000
committerGeoffrey Keating <geoffk@geoffk.org>2002-02-01 18:00:36 +0000
commitda1f2fec05a91ec33f75fde46c4ec2c091b2d5e3 (patch)
tree6fc5d5e6c58fbe18ad55edaab4093a4bf0c09c3c /ld/scripttempl
parentac282366845a72a810b4e42e0681bb6e64e2a078 (diff)
downloadfsf-binutils-gdb-da1f2fec05a91ec33f75fde46c4ec2c091b2d5e3.zip
fsf-binutils-gdb-da1f2fec05a91ec33f75fde46c4ec2c091b2d5e3.tar.gz
fsf-binutils-gdb-da1f2fec05a91ec33f75fde46c4ec2c091b2d5e3.tar.bz2
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.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/xstormy16.sc3
1 files changed, 1 insertions, 2 deletions
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 = .);}