xref: /aosp_15_r20/external/musl/arch/i386/crt_arch.h (revision c9945492fdd68bbe62686c5b452b4dc1be3f8453)
1 __asm__(
2 ".text\n"
3 ".weak _DYNAMIC \n"
4 ".hidden _DYNAMIC \n"
5 ".global " START "\n"
6 START ":\n"
7 "	xor %ebp,%ebp \n"
8 "	mov %esp,%eax \n"
9 "	and $-16,%esp \n"
10 "	push %eax \n"
11 "	push %eax \n"
12 "	call 1f \n"
13 "1:	addl $_DYNAMIC-1b,(%esp) \n"
14 "	push %eax \n"
15 "	call " START "_c \n"
16 );
17