Fixed crt0 bug

This commit is contained in:
plutoo 2017-09-10 23:26:56 +02:00
parent d7413ea37e
commit ea07a84df6

View File

@ -42,9 +42,10 @@ got_loop:
// setup heap
ldr x1, =HEAP_SIZE
svc 1
ldr x1, =HEAP_SIZE
ldr x1, =HEAP_SIZE
svc 1 // check retval?
mov x0, x1
ldr x1, =HEAP_SIZE
ldr x3, =heapInit
add x3, x3, x30
blr x3