/usr/src/binutils/patches/aarch64-libpath.diff is in binutils-source 2.30-15ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | Index: b/ld/emulparams/aarch64linux.sh
===================================================================
--- a/ld/emulparams/aarch64linux.sh
+++ b/ld/emulparams/aarch64linux.sh
@@ -38,12 +38,15 @@
# Linux modifies the default library search path to first include
# a 64-bit specific directory.
-case "$target" in
- aarch64*-linux*)
- case "$EMULATION_NAME" in
- aarch64linux*) LIBPATH_SUFFIX=64 ;;
- esac
- ;;
-esac
+
+# not for multiarch systems ...
+
+#case "$target" in
+# aarch64*-linux*)
+# case "$EMULATION_NAME" in
+# aarch64linux*) LIBPATH_SUFFIX=64 ;;
+# esac
+# ;;
+#esac
ELF_INTERPRETER_NAME=\"/lib/ld-linux-aarch64.so.1\"
|