xref: /third_party/musl/arch/arm/crt_arch.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/musl/arch/arm/
1570af302Sopenharmony_ci__asm__(
2570af302Sopenharmony_ci".text \n"
3570af302Sopenharmony_ci".global " START " \n"
4570af302Sopenharmony_ci".type " START ",%function \n"
5570af302Sopenharmony_ciSTART ": \n"
6570af302Sopenharmony_ci"	mov fp, #0 \n"
7570af302Sopenharmony_ci"	mov lr, #0 \n"
8570af302Sopenharmony_ci"	ldr a2, 1f \n"
9570af302Sopenharmony_ci"	add a2, pc, a2 \n"
10570af302Sopenharmony_ci#ifdef __LITEOS_A__
11570af302Sopenharmony_ci"	mov a3, sp \n"
12570af302Sopenharmony_ci"2:	and ip, a3, #-16 \n"
13570af302Sopenharmony_ci#else
14570af302Sopenharmony_ci"	mov a1, sp \n"
15570af302Sopenharmony_ci"2:	and ip, a1, #-16 \n"
16570af302Sopenharmony_ci#endif
17570af302Sopenharmony_ci"	mov sp, ip \n"
18570af302Sopenharmony_ci"	bl " START "_c \n"
19570af302Sopenharmony_ci".weak _DYNAMIC \n"
20570af302Sopenharmony_ci".hidden _DYNAMIC \n"
21570af302Sopenharmony_ci".align 2 \n"
22570af302Sopenharmony_ci"1:	.word _DYNAMIC-2b \n"
23570af302Sopenharmony_ci);
24

Indexes created Thu Nov 07 10:32:03 CST 2024