summaryrefslogtreecommitdiff
path: root/meta-linaro-toolchain/recipes-core
diff options
context:
space:
mode:
authorVictor Kamensky <victor.kamensky@linaro.org>2014-03-21 18:03:04 -0700
committerFathi Boudra <fathi.boudra@linaro.org>2014-03-22 06:28:19 +0000
commit6636e8965878950d1d4c43b8a58f0f8ff114ba44 (patch)
tree47d844f0f1e7cdc3b2e536c81a64c6a8014df88f /meta-linaro-toolchain/recipes-core
parent95e0a57a1bfaf4c2c05b1c7ef63e29f482cda8fb (diff)
downloadmeta-linaro-6636e8965878950d1d4c43b8a58f0f8ff114ba44.tar.gz
aarch64_be: install backward compatible symlink for run-time linker
In case of aarch64_be install /lib/ld-linux-aarch64.so.1 symbolic link pointing to just renamed /lib/ld-linux-aarch64_be.so.1 run-time linker. It should make old executables, compiled with toolchains that did not do such rename yet, happy. Change-Id: Iff30c8900421188b5643813c440e4f072e562b5f Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org>
Diffstat (limited to 'meta-linaro-toolchain/recipes-core')
-rw-r--r--meta-linaro-toolchain/recipes-core/eglibc/eglibc_2.19.bbappend11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-linaro-toolchain/recipes-core/eglibc/eglibc_2.19.bbappend b/meta-linaro-toolchain/recipes-core/eglibc/eglibc_2.19.bbappend
new file mode 100644
index 0000000..611406a
--- /dev/null
+++ b/meta-linaro-toolchain/recipes-core/eglibc/eglibc_2.19.bbappend
@@ -0,0 +1,11 @@
+# In case of aarch64_be install symlink to ld-linux-aarch64_be.so.1
+# to enable transition of toolchain and executables that are not yet
+# aware about aarch64_be run-time linker name change.
+#
+# Currently there is no use case that requires both LE and BE eglibc
+# installed into the same rootfs, so our transitional symlink should
+# be fine.
+#
+do_install_append_aarch64-be() {
+ ln -sf ld-linux-aarch64_be.so.1 ${D}${base_libdir}/ld-linux-aarch64.so.1
+}