mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 23:08:31 +00:00
Get LIBC_MEM and LIBC_STDIO building with aarch64
This commit is contained in:
parent
ae0ee59614
commit
d04430f4ef
81 changed files with 440 additions and 1064 deletions
|
@ -73,6 +73,8 @@
|
|||
#include "libc/sysv/consts/epoll.h"
|
||||
#include "libc/sysv/errfuns.h"
|
||||
|
||||
#ifdef __x86_64__
|
||||
|
||||
/**
|
||||
* @fileoverview epoll
|
||||
*
|
||||
|
@ -1530,3 +1532,5 @@ int epoll_wait(int epfd, struct epoll_event *events, int maxevents,
|
|||
timeoutms, rc);
|
||||
return rc;
|
||||
}
|
||||
|
||||
#endif /* __x86_64__ */
|
||||
|
|
|
@ -45,6 +45,8 @@
|
|||
#include "libc/sysv/errfuns.h"
|
||||
#include "net/http/ip.h"
|
||||
|
||||
#ifdef __x86_64__
|
||||
|
||||
#define ORIG_RAX 120
|
||||
#define RAX 80
|
||||
#define RDI 112
|
||||
|
@ -337,3 +339,5 @@ int nointernet(void) {
|
|||
HandleSeccompTrace(act);
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* __x86_64__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue