mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-18 23:12:15 +08:00
Use __get_memtop to put stack in high memory.
This commit is contained in:
parent
54542d8a29
commit
2fed14293b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user