xref: /third_party/musl/arch/or1k/crt_arch.h (revision 570af302)
1570af302Sopenharmony_ci__asm__(
2570af302Sopenharmony_ci".text \n"
3570af302Sopenharmony_ci".global " START " \n"
4570af302Sopenharmony_ci".align  4 \n"
5570af302Sopenharmony_ciSTART ": \n"
6570af302Sopenharmony_ci"	l.jal 1f \n"
7570af302Sopenharmony_ci"	 l.ori r3, r1, 0 \n"
8570af302Sopenharmony_ci".weak _DYNAMIC \n"
9570af302Sopenharmony_ci".hidden _DYNAMIC \n"
10570af302Sopenharmony_ci"	.word _DYNAMIC-. \n"
11570af302Sopenharmony_ci"1:	l.lwz r4, 0(r9) \n"
12570af302Sopenharmony_ci"	l.add r4, r4, r9 \n"
13570af302Sopenharmony_ci"	l.addi r2, r0, -8 \n"
14570af302Sopenharmony_ci"	l.and r1, r1, r2 \n"
15570af302Sopenharmony_ci"	l.addi r1, r1, -16 \n"
16570af302Sopenharmony_ci"	l.jal " START "_c \n"
17570af302Sopenharmony_ci"	 l.ori r2, r0, 0 \n"
18570af302Sopenharmony_ci);
19