Patchwork [23/29,AARCH64] Add ILP32 ld.so to the known interpreter names.

login
register
mail settings
Submitter Andrew Pinski
Date Oct. 27, 2014, 7:59 a.m.
Message ID <1414396793-9005-24-git-send-email-apinski@cavium.com>
Download mbox | patch
Permalink /patch/3422/
State New
Headers show

Comments

Andrew Pinski - Oct. 27, 2014, 7:59 a.m.
This patch adds ILP32 ld.so names to the known interpreter names.

* sysdeps/unix/sysv/linux/aarch64/ldconfig.h (SYSDEP_KNOWN_INTERPRETER_NAMES):
Add ilp32 ld.so names.
---
 sysdeps/unix/sysv/linux/aarch64/ldconfig.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Will Newton - Nov. 18, 2014, 2:26 p.m.
On 27 October 2014 07:59, Andrew Pinski <apinski@cavium.com> wrote:
> This patch adds ILP32 ld.so names to the known interpreter names.
>
> * sysdeps/unix/sysv/linux/aarch64/ldconfig.h (SYSDEP_KNOWN_INTERPRETER_NAMES):
> Add ilp32 ld.so names.
> ---
>  sysdeps/unix/sysv/linux/aarch64/ldconfig.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

Looks ok to me.

> diff --git a/sysdeps/unix/sysv/linux/aarch64/ldconfig.h b/sysdeps/unix/sysv/linux/aarch64/ldconfig.h
> index b0e6b6a..a70eafc 100644
> --- a/sysdeps/unix/sysv/linux/aarch64/ldconfig.h
> +++ b/sysdeps/unix/sysv/linux/aarch64/ldconfig.h
> @@ -21,6 +21,8 @@
>  #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-aarch64_ilp32.so.1", FLAG_ELF_LIBC6 }, \
> +  { "/lib/ld-linux-aarch64_be_ilp32.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 \
> --
> 1.7.2.5
>

Patch

diff --git a/sysdeps/unix/sysv/linux/aarch64/ldconfig.h b/sysdeps/unix/sysv/linux/aarch64/ldconfig.h
index b0e6b6a..a70eafc 100644
--- a/sysdeps/unix/sysv/linux/aarch64/ldconfig.h
+++ b/sysdeps/unix/sysv/linux/aarch64/ldconfig.h
@@ -21,6 +21,8 @@ 
 #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-aarch64_ilp32.so.1", FLAG_ELF_LIBC6 }, \
+  { "/lib/ld-linux-aarch64_be_ilp32.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 \