about summary refs log tree commit diff
path: root/arch/arm/crt_arch.h
blob: d1f9a6623974b4c3ab15bdf910662a27000ad3e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
__asm__(
".global " START " \n"
".type " START ",%function \n"
START ": \n"
"	mov fp, #0 \n"
"	mov lr, #0 \n"
"	mov a1, sp \n"
"	ldr a2, 1f \n"
"2:	add a2, pc, a2 \n"
"	and sp, sp, #-16 \n"
"	bl " START "_c \n"
".weak _DYNAMIC \n"
".hidden _DYNAMIC \n"
"1:	.word _DYNAMIC-2b-8 \n"
);