Make more code aarch64 friendly

This commit is contained in:
Justine Tunney 2023-05-02 13:38:16 -07:00
parent ca2860947f
commit 2b73e72d59
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
568 changed files with 2197 additions and 1061 deletions

View file

@ -38,6 +38,7 @@ LIBC_SYSV_A_FILES := \
libc/sysv/syscall.S \
libc/sysv/systemfive.S \
libc/sysv/errno_location.greg.c \
libc/sysv/sysret.c \
libc/sysv/errno.c \
libc/sysv/errfun.S \
libc/sysv/strace.greg.c \
@ -69,10 +70,6 @@ $(LIBC_SYSV_A).pkg: \
$(LIBC_SYSV_A_OBJS) \
$(foreach x,$(LIBC_SYSV_A_DIRECTDEPS),$($(x)_A).pkg)
o/libc/sysv/macros.internal.inc: \
libc/sysv/macros.internal.h \
libc/macros.internal.h
#───────────────────────────────────────────────────────────────────────────────
LIBC_SYSV_CALLS = \
@ -81,8 +78,8 @@ LIBC_SYSV_CALLS = \
LIBC_SYSV_ARTIFACTS += LIBC_SYSV_CALLS_A
LIBC_SYSV_CALLS_A = o/$(MODE)/libc/sysv/calls.a
LIBC_SYSV_CALLS_A_SRCS := $(wildcard libc/sysv/calls/*.s)
LIBC_SYSV_CALLS_A_OBJS = $(LIBC_SYSV_CALLS_A_SRCS:%.s=o/$(MODE)/%.o)
LIBC_SYSV_CALLS_A_SRCS := $(wildcard libc/sysv/calls/*.S)
LIBC_SYSV_CALLS_A_OBJS = $(LIBC_SYSV_CALLS_A_SRCS:%.S=o/$(MODE)/%.o)
LIBC_SYSV_CALLS_A_CHECKS = $(LIBC_SYSV_CALLS_A).pkg
LIBC_SYSV_CALLS_A_DIRECTDEPS = \
@ -100,9 +97,6 @@ $(LIBC_SYSV_CALLS_A).pkg: \
$(LIBC_SYSV_CALLS_A_OBJS) \
$(foreach x,$(LIBC_SYSV_CALLS_A_DIRECTDEPS),$($(x)_A).pkg)
$(LIBC_SYSV_CALLS_A_OBJS): \
o/libc/sysv/macros.internal.inc
#───────────────────────────────────────────────────────────────────────────────
LIBC_SYSV_MACHCALLS = \
@ -130,9 +124,6 @@ $(LIBC_SYSV_MACHCALLS_A).pkg: \
$(LIBC_SYSV_MACHCALLS_A_OBJS) \
$(foreach x,$(LIBC_SYSV_MACHCALLS_A_DIRECTDEPS),$($(x)_A).pkg)
$(LIBC_SYSV_MACHCALLS_A_OBJS): \
o/libc/sysv/macros.internal.inc
#───────────────────────────────────────────────────────────────────────────────
# let aarch64 compile these