mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-04 00:40:27 +00:00
Make more code aarch64 friendly
This commit is contained in:
parent
ca2860947f
commit
2b73e72d59
568 changed files with 2197 additions and 1061 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue