mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-04-14 11:48:47 +00:00
17 lines
257 B
ArmAsm
17 lines
257 B
ArmAsm
#include "libc/nt/codegen.h"
|
|
.imp kernel32,__imp_TlsFree,TlsFree,0
|
|
|
|
#ifdef __x86_64__
|
|
.text.windows
|
|
TlsFree:
|
|
push %rbp
|
|
mov %rsp,%rbp
|
|
.profilable
|
|
mov %rdi,%rcx
|
|
sub $32,%rsp
|
|
call *__imp_TlsFree(%rip)
|
|
leave
|
|
ret
|
|
.endfn TlsFree,globl
|
|
.previous
|
|
#endif
|