* emulparams/armelf.sh (OTHER_BSS_END_SYMBOLS): Split out from
[deliverable/binutils-gdb.git] / ld / emulparams / m32relf.sh
index d30fbc4d5dcc519b96b41a3fa3ebbd393937691b..947c7a8eae184aa87de31ac17108bb80a1515f8b 100644 (file)
@@ -1,10 +1,12 @@
 MACHINE=
 SCRIPT_NAME=elf
+TEMPLATE_NAME=elf32
 OUTPUT_FORMAT="elf32-m32r"
-TEXT_START_ADDR=0x0
+TEXT_START_ADDR=0x100
 ARCH=m32r
+MACHINE=
 MAXPAGESIZE=32
+EMBEDDED=yes
 
-# Hmmm, there's got to be a better way.  This sets the stack to the
-# top of the simulator memory (currently 1M).
-OTHER_RELOCATING_SECTIONS='.stack 0x100000 : { _stack = .; *(.stack) }'
+# This sets the stack to the top of simulator memory (8MB).
+OTHER_SYMBOLS='PROVIDE (_stack = 0x800000);'
This page took 0.024005 seconds and 4 git commands to generate.