Port a lot more code to AARCH64

- Introduce epoll_pwait()
- Rewrite -ftrapv and ffs() libraries in C code
- Use more FreeBSD code in math function library
- Get significantly more tests passing on qemu-aarch64
- Fix many Musl long double functions that were broken on AARCH64
This commit is contained in:
Justine Tunney 2023-05-14 09:32:15 -07:00
parent 91791e9f38
commit 550b52abf6
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
158 changed files with 6018 additions and 3499 deletions

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_epoll_pwait,0xfffffffffffff119,0x016,globl
.scall sys_epoll_pwait,0xfffffffffffff919,0x016,globl,hidden

View file

@ -305,7 +305,7 @@ scall posix_fallocate 0x9dffffa12fffffff 0xfff globl hidden # └─ cosmopoli
scall __sys_accept4 0xfff85da1dffff920 0x0f2 globl hidden # Linux 2.6.28+
scall __sys_dup3 0x1c6066fffffff124 0x018 globl hidden # Linux 2.6.27+
scall __sys_pipe2 0x1c506521effff125 0x03b globl hidden # Linux 2.6.27+
scall sys_epoll_pwait 0xfffffffffffff119 0x016 globl # no wrapper
scall sys_epoll_pwait 0xfffffffffffff919 0x016 globl hidden
scall sys_epoll_create1 0xfffffffffffff123 0x014 globl hidden
scall sys_perf_event_open 0xfffffffffffff12a 0x0f1 globl # no wrapper
scall sys_inotify_init1 0xfffffffffffff126 0x01a globl # no wrapper