diff options
Diffstat (limited to 'libc-top-half/musl/arch/x32/crt_arch.h')
-rw-r--r-- | libc-top-half/musl/arch/x32/crt_arch.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libc-top-half/musl/arch/x32/crt_arch.h b/libc-top-half/musl/arch/x32/crt_arch.h new file mode 100644 index 0000000..3eec61b --- /dev/null +++ b/libc-top-half/musl/arch/x32/crt_arch.h @@ -0,0 +1,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" +); |