diff options
author | Marcus Shawcroft <marcus.shawcroft@linaro.org> | 2014-01-01 17:29:23 +0000 |
---|---|---|
committer | Marcus Shawcroft <marcus.shawcroft@linaro.org> | 2014-01-20 15:43:06 +0000 |
commit | b67e7fe0f9f9b0f6c4386a0eccba83178098438c (patch) | |
tree | 7f783b00d742a54ec7b0ec4058fe06e8a423fdb9 /ports/sysdeps/unix | |
parent | 91cbd0bc72387d0729136e44002082fbdd9cd42d (diff) | |
download | glibc-b67e7fe0f9f9b0f6c4386a0eccba83178098438c.tar.gz glibc-b67e7fe0f9f9b0f6c4386a0eccba83178098438c.tar.xz glibc-b67e7fe0f9f9b0f6c4386a0eccba83178098438c.zip |
[AArch64] Define BE loader name.
Diffstat (limited to 'ports/sysdeps/unix')
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/aarch64/Makefile | 15 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/aarch64/ldconfig.h | 1 |
2 files changed, 16 insertions, 0 deletions
diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/Makefile b/ports/sysdeps/unix/sysv/linux/aarch64/Makefile index 8a3d76be69..d3f1603359 100644 --- a/ports/sysdeps/unix/sysv/linux/aarch64/Makefile +++ b/ports/sysdeps/unix/sysv/linux/aarch64/Makefile @@ -22,3 +22,18 @@ 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__AARCH6464EB__ +abi-lp64_be-condition := defined __AARCH64EB__ +abi-lp64_be-ld-soname := ld-linux-aarch64_be.so.1 diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/ldconfig.h b/ports/sysdeps/unix/sysv/linux/aarch64/ldconfig.h index 10be19768b..b0e6b6a2ff 100644 --- a/ports/sysdeps/unix/sysv/linux/aarch64/ldconfig.h +++ b/ports/sysdeps/unix/sysv/linux/aarch64/ldconfig.h @@ -20,6 +20,7 @@ #define SYSDEP_KNOWN_INTERPRETER_NAMES \ { "/lib/ld-linux-aarch64.so.1", FLAG_ELF_LIBC6 }, \ + { "/lib/ld-linux-aarch64_be.so.1", FLAG_ELF_LIBC6 }, \ { "/lib/ld-linux.so.3", FLAG_ELF_LIBC6 }, \ { "/lib/ld-linux-armhf.so.3", FLAG_ELF_LIBC6 }, #define SYSDEP_KNOWN_LIBRARY_NAMES \ |