Make progress towards aarch64 build

This commit is contained in:
Justine Tunney 2023-05-01 19:43:59 -07:00
parent 08ff26c817
commit ca2860947f
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
15428 changed files with 25694 additions and 23138 deletions

14
libc/nt/ws2_32/socket.S Normal file
View file

@ -0,0 +1,14 @@
#include "libc/nt/codegen.h"
.imp ws2_32,__imp_socket,socket,23
#ifdef __x86_64__
.text.windows
__sys_socket_nt:
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_socket(%rip),%rax
jmp __sysv2nt
.endfn __sys_socket_nt,globl
.previous
#endif