2003-06-23 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>

* m32r/crt0.S (_start): Allow _stack to be placed anywhere
        in memory.
This commit is contained in:
Jeff Johnston
2003-06-23 19:06:12 +00:00
parent fe431b2430
commit 6ae5c86b5a
2 changed files with 7 additions and 1 deletions

View File

@ -3,7 +3,8 @@
.global _start
_start:
ld24 sp, _stack
seth sp, #shigh(_stack)
add3 sp, sp, #low(_stack)
ldi fp, #0
# Clear the BSS. Do it in two parts for efficiency: longwords first