This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH] AArch64: Tag ARM libc6-dependent libraries with FLAG_ELF_LIBC6 cache
- From: Marcus Shawcroft <marcus dot shawcroft at linaro dot org>
- To: Steve McIntyre <steve dot mcintyre at linaro dot org>
- Cc: libc-ports at sourceware dot org, "Carlos O'Donell" <carlos at systemhalted dot org>, "Joseph S. Myers" <joseph at codesourcery dot com>
- Date: Tue, 4 Dec 2012 12:51:57 +0000
- Subject: Re: [PATCH] AArch64: Tag ARM libc6-dependent libraries with FLAG_ELF_LIBC6 cache
- References: <20121203152515.GB22509@einval.com> <20121203152719.GC22509@einval.com>
On 3 December 2012 15:27, Steve McIntyre <steve.mcintyre@linaro.org> wrote:
> And here's my second patch for AArch64 - tag programs depending on the
> interpreter name.
>
> =========================================================================
> 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 },
OK,
Ill apply this for you shortly.
/Marcus