diff options
author | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2014-02-10 15:36:16 +0000 |
---|---|---|
committer | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2014-02-11 11:36:00 +0000 |
commit | 75eff3fe90f96783f31f58fa84af1b77e57d1ae4 (patch) | |
tree | 28a8fda330f53de0eccd291f9c5e52a2056a983a /sysdeps/unix/sysv/linux/aarch64/Makefile | |
parent | d35f1e80730ce5afbd4694f2d2e537e4af32a797 (diff) | |
download | glibc-75eff3fe90f96783f31f58fa84af1b77e57d1ae4.tar.gz glibc-75eff3fe90f96783f31f58fa84af1b77e57d1ae4.tar.xz glibc-75eff3fe90f96783f31f58fa84af1b77e57d1ae4.zip |
Relocate AArch64 from ports to libc.
This patch moves the AArch64 port to the main sysdeps hierarchy. The move is essentially: git mv ports/sysdeps/aarch64 sysdeps/aarch64 git mv ports/sysdeps/unix/sysv/linux/aarch64 sysdeps/unix/sysv/linux/aarch64 The README is updated and I've updated ChangeLog.aarch64 along the lines of the ARM move. The AArch64 build has been tested to confirm that there were no changes in objdump -dr output or the shared objects.
Diffstat (limited to 'sysdeps/unix/sysv/linux/aarch64/Makefile')
-rw-r--r-- | sysdeps/unix/sysv/linux/aarch64/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/Makefile b/sysdeps/unix/sysv/linux/aarch64/Makefile new file mode 100644 index 0000000000..88250dd87d --- /dev/null +++ b/sysdeps/unix/sysv/linux/aarch64/Makefile @@ -0,0 +1,39 @@ +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 +sysdep_routines += dl-static +sysdep-rtld-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-ld-soname := ld-linux-aarch64.so.1 + +abi-lp64_be-options := -D__AARCH64EB__ +abi-lp64_be-condition := defined __AARCH64EB__ +abi-lp64_be-ld-soname := ld-linux-aarch64_be.so.1 |