use correct function for global constructors

This commit is contained in:
Dave Murphy
2006-06-08 16:05:50 +00:00
parent 4b15dae73e
commit 23dca734bd
5 changed files with 5 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ _start:
sub r1, r1, r0
bl ClearMem
ldr r3, =_init @ global constructors
ldr r3, =__libc_init_array @ global constructors
bl _call_via_r3
mov r0, #0 @ int argc

View File

@@ -196,7 +196,7 @@ _start:
ldr r0, =__eheap_end
str r0, [r1]
ldr r3, =_init @ global constructors
ldr r3, =__libc_init_array @ global constructors
bl _call_via_r3
mov r0, #0 @ int argc

View File

@@ -92,7 +92,7 @@ start_vector:
ldr r0, =__eheap_end
str r0, [r1]
ldr r3, =_init @ global constructors
ldr r3, =__libc_init_array @ global constructors
bl _call_via_r3
mov r0, #0 @ int argc

View File

@@ -174,7 +174,7 @@ CEW0Skip:
@---------------------------------------------------------------------------------
@ global constructors
@---------------------------------------------------------------------------------
ldr r3, =_init
ldr r3, =__libc_init_array
bl _call_via_r3
@---------------------------------------------------------------------------------
@ Jump to user code

View File

@@ -59,7 +59,7 @@ _start2:
@---------------------------------------------------------------------------------
ldr r3,=_call_main
mov lr,r3
ldr r3,=_init
ldr r3,=__libc_init_array
bx r3
@---------------------------------------------------------------------------------
@ Jump to user code