diff mbox

[steve.mcintyre@linaro.org:,[PATCH] AArch64: Tag ARM libc6-dependent libraries with FLAG_ELF_LIBC6 cache]

Message ID 20121203181818.GN12778@linaro.org
State New
Headers show

Commit Message

Steve McIntyre Dec. 3, 2012, 6:18 p.m. UTC
----- Forwarded message from Steve McIntyre <steve.mcintyre@linaro.org> -----

Date: Mon, 3 Dec 2012 15:27:19 +0000
From: Steve McIntyre <steve.mcintyre@linaro.org>
To: libc-ports@sourceware.org
Cc: Carlos O'Donell <carlos@systemhalted.org>, "Joseph S. Myers" <joseph@codesourcery.com>, Marcus Shawcroft
	<marcus.shawcroft@linaro.org>
Subject: [PATCH] AArch64: Tag ARM libc6-dependent libraries with FLAG_ELF_LIBC6 cache
User-Agent: Mutt/1.5.21 (2010-09-15)

And here's my second patch for AArch64 - tag programs depending on the
interpreter name.
diff mbox

Patch

=========================================================================
Tag ARM libc6-dependent libraries with FLAG_ELF_LIBC6

	* sysdeps/unix/sysv/linux/aarch64/ldconfig.h: Add entries
	for /lib/ld-linux.so.3 and /lib/ld-linux-armhf.so.3.

Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
---
 ports/sysdeps/unix/sysv/linux/aarch64/ldconfig.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/ldconfig.h b/ports/sysdeps/unix/sysv/linux/aarch64/ldconfig.h
index 4c1af06..d0517d8 100644
--- a/ports/sysdeps/unix/sysv/linux/aarch64/ldconfig.h
+++ b/ports/sysdeps/unix/sysv/linux/aarch64/ldconfig.h
@@ -19,7 +19,9 @@ 
 #include <sysdeps/generic/ldconfig.h>
 
 #define SYSDEP_KNOWN_INTERPRETER_NAMES \
-  { "/lib/ld-linux-aarch64.so.1", FLAG_ELF_LIBC6 },
+  { "/lib/ld-linux-aarch64.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 \
   { "libc.so.6", FLAG_ELF_LIBC6 },	\
   { "libm.so.6", FLAG_ELF_LIBC6 },