mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-01 16:58:30 +00:00
Upgrade to Cosmopolitan GCC 11.2.0 for x86_64
This commit is contained in:
parent
682b74ed88
commit
39f20dbb13
137 changed files with 48523 additions and 34001 deletions
5
third_party/nsync/compat.S
vendored
5
third_party/nsync/compat.S
vendored
|
@ -16,8 +16,13 @@
|
|||
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
|
||||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/calls/struct/timespec.h"
|
||||
#include "libc/macros.internal.h"
|
||||
|
||||
#ifdef __aarch64__
|
||||
#define jmp b
|
||||
#endif
|
||||
|
||||
nsync_time_now:
|
||||
jmp timespec_real
|
||||
.endfn nsync_time_now,globl
|
||||
|
|
4
third_party/nsync/nsync.mk
vendored
4
third_party/nsync/nsync.mk
vendored
|
@ -54,6 +54,10 @@ $(THIRD_PARTY_NSYNC_A_OBJS): private \
|
|||
-ffunction-sections \
|
||||
-fdata-sections
|
||||
|
||||
# these assembly files are safe to build on aarch64
|
||||
o/$(MODE)/third_party/nsync/compat.o: third_party/nsync/compat.S
|
||||
@$(COMPILE) -AOBJECTIFY.S $(OBJECTIFY.S) $(OUTPUT_OPTION) -c $<
|
||||
|
||||
THIRD_PARTY_NSYNC_LIBS = $(foreach x,$(THIRD_PARTY_NSYNC_ARTIFACTS),$($(x)))
|
||||
THIRD_PARTY_NSYNC_SRCS = $(foreach x,$(THIRD_PARTY_NSYNC_ARTIFACTS),$($(x)_SRCS))
|
||||
THIRD_PARTY_NSYNC_CHECKS = $(foreach x,$(THIRD_PARTY_NSYNC_ARTIFACTS),$($(x)_CHECKS))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue