mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-08 23:04:24 +00:00
also start prefering NtDll API. so far: * NtQueryInformationFile * NtClose adds a performance workaround for windows unicode conversion. but that should probably be removed before merging
12 lines
215 B
C
Vendored
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"
|
|
);
|