diff options
author | Mark Salter <msalter@redhat.com> | 2002-01-24 13:33:55 +0000 |
---|---|---|
committer | Mark Salter <msalter@redhat.com> | 2002-01-24 13:33:55 +0000 |
commit | 2fed14293ba3344f86e7ec12e339b55544327098 (patch) | |
tree | c66709fbd5257ed4d25a91736bbba1aa2794c31e /libgloss | |
parent | 54542d8a29e46b37e20bf99eafa442eb405c2cbd (diff) | |
download | newlib-2fed14293ba3344f86e7ec12e339b55544327098.zip newlib-2fed14293ba3344f86e7ec12e339b55544327098.tar.gz newlib-2fed14293ba3344f86e7ec12e339b55544327098.tar.bz2 |
Use __get_memtop to put stack in high memory.
Diffstat (limited to 'libgloss')
-rw-r--r-- | libgloss/arm/redboot-crt0.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libgloss/arm/redboot-crt0.S b/libgloss/arm/redboot-crt0.S index e707a6a..e715334 100644 --- a/libgloss/arm/redboot-crt0.S +++ b/libgloss/arm/redboot-crt0.S @@ -45,6 +45,10 @@ __change_mode: bl SYM_NAME(memset) + bl SYM_NAME(__get_memtop) + sub r0, r0, #32 + mov sp, r0 + mov a1, #0 ldr a2, .LC3 mov a3, a2 |