Initialize heap, increase stack size

This commit is contained in:
TuxSH
2018-05-04 23:56:01 +02:00
parent dc3099781d
commit 0d344e45af
2 changed files with 21 additions and 10 deletions

View File

@@ -33,7 +33,7 @@ _start:
_relocation_loop_end:
/* Set the stack pointer */
ldr sp, =0x40008000
ldr sp, =0x40010000
mov fp, #0
stmfd sp!, {r0, r1}
@@ -44,6 +44,9 @@ _start:
sub r2, r2, r0
bl memset
/* Initialize the heap */
bl __init_heap
/* Call global constructors */
bl __libc_init_array