cosmopolitan/libc/nt/kernel32/TlsGetValue.s

16 lines
256 B
ArmAsm
Raw Normal View History

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