Initialize heap, increase stack size
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user