zig/lib/libc/musl/arch/x32/crt_arch.h
Alex Rønne Petersen ec0e6440b1
musl: Update sources from musl 1.2.5.
Adds mipsn32 and x32 sources.

Also remove some useless .in files.
2024-11-02 10:42:53 +01:00

12 lines
215 B
C
Vendored

__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"
);