summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/arch/x32/crt_arch.h
blob: 3eec61bdcdb87ab342940093be4d62869ced5c4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
__asm__(
".text \n"
".global " START " \n"
START ": \n"
"	xor %rbp,%rbp \n"
"	mov %rsp,%rdi \n"
".weak _DYNAMIC \n"
".hidden _DYNAMIC \n"
"	lea _DYNAMIC(%rip),%rsi \n"
"	andq $-16,%rsp \n"
"	call " START "_c \n"
);