diff options
author | Ulrich Weigand <Ulrich.Weigand@de.ibm.com> | 2013-12-04 07:08:48 -0600 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2013-12-04 07:44:39 -0600 |
commit | 5b118558f9fb0620508d51c34c2cb5ba4f1f01c2 (patch) | |
tree | 625cfdcf237afbf9ef3cfbd38cb5e2eb01390629 /sysdeps/unix/sysv/linux/powerpc/ldconfig.h | |
parent | 61cd8fe4017c251617dd300818917e61a12ab48e (diff) | |
download | glibc-5b118558f9fb0620508d51c34c2cb5ba4f1f01c2.tar.gz glibc-5b118558f9fb0620508d51c34c2cb5ba4f1f01c2.tar.xz glibc-5b118558f9fb0620508d51c34c2cb5ba4f1f01c2.zip |
PowerPC64 ELFv2 ABI 6/6: Bump ld.so soname version number
To avoid having a ELFv2 binary accidentally picking up an old ABI ld.so, this patch bumps the soname to ld64.so.2. In theory (or for testing purposes) this will also allow co-installing ld.so versions for both ABIs on the same system. Note that the kernel will already be able to load executables of both ABIs. However, there is currently no plan to use that theoretical possibility in a any supported distribution environment ... Note that in order to check which ABI to use, we need to invoke the compiler to check the _CALL_ELF macro; this is done in a new configure check in sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac, replacing the hard-coded value of default-abi in the Makefile.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/ldconfig.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/ldconfig.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/ldconfig.h b/sysdeps/unix/sysv/linux/powerpc/ldconfig.h index 2c5f50d97b..92ea723620 100644 --- a/sysdeps/unix/sysv/linux/powerpc/ldconfig.h +++ b/sysdeps/unix/sysv/linux/powerpc/ldconfig.h @@ -20,7 +20,8 @@ #define SYSDEP_KNOWN_INTERPRETER_NAMES \ { "/lib/ld.so.1", FLAG_ELF_LIBC6 }, \ - { "/lib64/ld64.so.1", FLAG_ELF_LIBC6 }, + { "/lib64/ld64.so.1", FLAG_ELF_LIBC6 }, \ + { "/lib64/ld64.so.2", FLAG_ELF_LIBC6 }, #define SYSDEP_KNOWN_LIBRARY_NAMES \ { "libc.so.6", FLAG_ELF_LIBC6 }, \ { "libm.so.6", FLAG_ELF_LIBC6 }, |