aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/x86_64/64
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-09-26 17:34:22 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-09-26 17:34:22 +0000
commit1810d3ab7174cc70a3c57700250a600a68f4b242 (patch)
treeedaaee5bbedf96ed50897791b9ae3bc8ed2f1b78 /sysdeps/unix/sysv/linux/x86_64/64
parent93ae1ebaa6df1a0c188614bd0a601ab6e26711c5 (diff)
downloadglibc-1810d3ab7174cc70a3c57700250a600a68f4b242.tar
glibc-1810d3ab7174cc70a3c57700250a600a68f4b242.tar.gz
glibc-1810d3ab7174cc70a3c57700250a600a68f4b242.tar.bz2
glibc-1810d3ab7174cc70a3c57700250a600a68f4b242.zip
Remove shlib-versions entries redundant with DEFAULT entries.
When a shlib-versions file has a DEFAULT line, it's not necessary to specify the same default minimum symbol version on the lines for individual libraries. If those lines otherwise duplicate the default SONAME for the library in question, they can be removed completely. This patch makes such cleanups: version entries for ld.so are removed (leaving just the definition of the architecture-specific dynamic linker name) and entries for libpthread are removed completely (since the default is libpthread.so.0). Tested for x86_64 that the installed shared libraries are unchanged by this patch. There are various architectures (hppa, ia64, mips, sh, sparc64) that define minimum symbol versions (or in the case of mips, omission of symbol versions) only for particular libraries without a DEFAULT line. None of these are equivalent to something simpler with a DEFAULT line because all have some other libraries, not explicitly mentioned, with symbol versions that would be omitted were such a line used. In the mips case I'm pretty sure it was a mistake not to omit the 2.1 symbols for libthread_db; for the others I don't know if it was a mistake or deliberate that some symbols in various libraries have 2.0 or 2.1 versions despite other libraries having a 2.2 minimum. This concludes the shlib-versions cleanups I'm aware of. * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not specify symbol version for ld.so. Do not include entry for libpthread. * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise. * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise. * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/x86_64/64')
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/64/shlib-versions3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/64/shlib-versions b/sysdeps/unix/sysv/linux/x86_64/64/shlib-versions
index 897b7e0e1b..7f87a8bd17 100644
--- a/sysdeps/unix/sysv/linux/x86_64/64/shlib-versions
+++ b/sysdeps/unix/sysv/linux/x86_64/64/shlib-versions
@@ -1,5 +1,4 @@
# DEFAULT Earliest symbol set
# --------------- ------------------------------
DEFAULT GLIBC_2.2.5
-ld=ld-linux-x86-64.so.2 GLIBC_2.2.5
-libpthread=0 GLIBC_2.2.5
+ld=ld-linux-x86-64.so.2