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

15 lines
256 B
ArmAsm

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