cosmopolitan/libc/nt/kernel32/TlsAlloc.s
2022-05-17 04:14:28 -07:00

14 lines
226 B
ArmAsm

.include "o/libc/nt/codegen.inc"
.imp kernel32,__imp_TlsAlloc,TlsAlloc,0
.text.windows
TlsAlloc:
push %rbp
mov %rsp,%rbp
.profilable
sub $32,%rsp
call *__imp_TlsAlloc(%rip)
leave
ret
.endfn TlsAlloc,globl
.previous