diff options
Diffstat (limited to 'REORG.TODO/sysdeps/unix/sysv/linux/aarch64/Makefile')
-rw-r--r-- | REORG.TODO/sysdeps/unix/sysv/linux/aarch64/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/REORG.TODO/sysdeps/unix/sysv/linux/aarch64/Makefile b/REORG.TODO/sysdeps/unix/sysv/linux/aarch64/Makefile new file mode 100644 index 0000000000..6b4e620896 --- /dev/null +++ b/REORG.TODO/sysdeps/unix/sysv/linux/aarch64/Makefile @@ -0,0 +1,35 @@ +ifeq ($(subdir),csu) +sysdep_routines += __read_tp libc-__read_tp +static-only-routines += __read_tp +shared-only-routines += libc-__read_tp +endif + +ifeq ($(subdir),elf) +sysdep_routines += dl-vdso +sysdep-rtld-routines += __read_tp +ifeq ($(build-shared),yes) +# This is needed for DSO loading from static binaries. +sysdep-dl-routines += dl-static +endif +endif + +ifeq ($(subdir),misc) +sysdep_headers += sys/elf.h +endif + +ifeq ($(subdir),stdlib) +gen-as-const-headers += ucontext_i.sym +endif + +abi-variants := lp64 +abi-variants += lp64_be + +ifeq (,$(filter $(default-abi),$(abi-variants))) +Unknown ABI, must be one of $(abi-variants) +endif + +abi-lp64-options := -U__AARCH64EB__ +abi-lp64-condition := !defined __AARCH64EB__ + +abi-lp64_be-options := -D__AARCH64EB__ +abi-lp64_be-condition := defined __AARCH64EB__ |