summaryrefslogtreecommitdiff
path: root/ld/emulparams/mn10200.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emulparams/mn10200.sh')
-rw-r--r--ld/emulparams/mn10200.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/ld/emulparams/mn10200.sh b/ld/emulparams/mn10200.sh
index 63243225e37..f96224b0492 100644
--- a/ld/emulparams/mn10200.sh
+++ b/ld/emulparams/mn10200.sh
@@ -1,4 +1,6 @@
-MACHINE=
+# If you change this file, please also look at files which source this one:
+# mn10300.sh
+
SCRIPT_NAME=elf
OUTPUT_FORMAT="elf32-mn10200"
TEXT_START_ADDR=0x0
@@ -8,9 +10,8 @@ MAXPAGESIZE=1
ENTRY=_start
EMBEDDED=yes
-# Hmmm, there's got to be a better way. This sets the stack to the
-# top of the simulator memory (2^19 bytes).
-OTHER_RELOCATING_SECTIONS='.stack 0x80000 : { _stack = .; *(.stack) }'
+# This sets the stack to the top of the simulator memory (2^19 bytes).
+STACK_ADDR=0x80000
# These are for compatibility with the COFF toolchain.
# XXX These should definitely disappear.