From ae3c5d83ac6b1a2abd66a87d05ddc38c0d0f7e06 Mon Sep 17 00:00:00 2001 From: Hajime Tazaki Date: Wed, 10 Jul 2024 21:02:41 +0900 Subject: [PATCH] fixup __getauxval 6 --- patches/aarch64.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 patches/aarch64.patch diff --git a/patches/aarch64.patch b/patches/aarch64.patch new file mode 100644 index 00000000..6369ce82 --- /dev/null +++ b/patches/aarch64.patch @@ -0,0 +1,14 @@ +Submodule linux contains modified content +diff --git a/linux/arch/lkl/Makefile b/linux/arch/lkl/Makefile +index 5236ac6cf5e1..e91cad63b40f 100644 +--- a/linux/arch/lkl/Makefile ++++ b/linux/arch/lkl/Makefile +@@ -8,6 +8,8 @@ KBUILD_CFLAGS += -fPIC + ifeq ($(OUTPUT_FORMAT),mach-o-x86-64) + # workaround for Mach-O section name + LINUXINCLUDE := -I $(srctree)/arch/lkl/include/mach $(LINUXINCLUDE) ++ifeq ($(OUTPUT_FORMAT),elf64-littleaarch64) ++KBUILD_CFLAGS += -mno-outline-atomics + endif + else ifneq (,$(filter $(OUTPUT_FORMAT),pe-i386 pe-x86-64 )) + ifneq ($(OUTPUT_FORMAT),pe-x86-64)