cosmopolitan/libc/nt/kernel32/GlobalFree.s
Justine Tunney 34b68f1945 Make mappings unlimited on NT
This change might also fix fork() in certain cases on NT.
2021-09-04 13:20:47 -07:00

15 lines
251 B
ArmAsm

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