mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Make progress towards aarch64 build
This commit is contained in:
parent
08ff26c817
commit
ca2860947f
15428 changed files with 25694 additions and 23138 deletions
14
libc/nt/kernel32/CreateFileMappingW.S
Normal file
14
libc/nt/kernel32/CreateFileMappingW.S
Normal file
|
@ -0,0 +1,14 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp kernel32,__imp_CreateFileMappingW,CreateFileMappingW,0
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
__CreateFileMapping:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_CreateFileMappingW(%rip),%rax
|
||||
jmp __sysv2nt6
|
||||
.endfn __CreateFileMapping,globl
|
||||
.previous
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue