]> git.ipfire.org Git - thirdparty/glibc.git/blame - shlib-versions
Update.
[thirdparty/glibc.git] / shlib-versions
CommitLineData
0e3426bb
RM
1# This file defines the shared library version numbers we will install.
2
3# The following lines list filename patterns matching canonical configurations,
4# and the associated versions to use for various libraries. The entire
710f7bab
RM
5# list is processed, with earlier entries taking precedence over later
6# entries. So loose patterns at the end of the list can give defaults.
0e3426bb 7
88268852
RM
8# This file can use cpp-style conditionals starting with % instead of #
9# to test the symbols defined in config.h by configure.
10
733af7d6
RM
11# In the optional third column, there can one or more symbol set names
12# listed, which must be in ascending version order reading left to right
13# and must appear in this same order in the Versions.def file. Each listed
14# version subsumes all prior versions back to the previous listed version.
15
361742ed
RM
16# Configuration Library=version Earliest symbol set (optional)
17# ------------- --------------- ------------------------------
0e3426bb 18
714a562f 19# The interface to -lm depends mostly only on cpu, not on operating system.
1a6d7967 20sparc64-.*-linux.* libm=6 GLIBC_2.2
41df5ed4 21alpha.*-.*-linux.* libm=6.1
d0a5dae4 22mips.*-.*-linux.* libm=6 GLIBC_2.0 GLIBC_2.2
2119c705
UD
23ia64-.*-linux.* libm=6.1 GLIBC_2.2
24sh.*-.*-linux.* libm=6 GLIBC_2.2
25.*-.*-linux.* libm=6
26.*-.*-gnu-gnu.* libm=6
0e3426bb 27
ec2ac6d5 28# We provide libc.so.6 for Linux kernel versions 2.0 and later.
41df5ed4 29alpha.*-.*-linux.* libc=6.1
733af7d6
RM
30# Working mips versions were never released between 2.0 and 2.2.
31mips.*-.*-linux.* libc=6 GLIBC_2.0 GLIBC_2.2
2119c705
UD
32ia64-.*-linux.* libc=6.1 GLIBC_2.2
33sh.*-.*-linux.* libc=6 GLIBC_2.2
1a6d7967 34sparc64-.*-linux.* libc=6 GLIBC_2.2
714a562f 35.*-.*-linux.* libc=6
0e3426bb
RM
36
37# libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
8a523922 38.*-.*-gnu-gnu.* libmachuser=1
0e3426bb
RM
39
40# libhurduser.so.0.0 corresponds to hurd/*.defs as of 7 May 1996.
2119c705 41.*-.*-gnu-gnu.* libhurduser=0.0
f68b86cc 42
8a080f40 43# libc.so.0.2 is for the Hurd alpha release 0.2.
88268852 44%ifdef USE_IN_LIBIO /* experimental only! */
2119c705 45.*-.*-gnu-gnu.* libc=0.2.90.libio GLIBC_2.2
88268852 46%else
2119c705 47.*-.*-gnu-gnu.* libc=0.2
88268852 48%endif
ec2ac6d5 49
d41c6f61 50# The dynamic loader also requires different names.
8a523922 51i.86-.*-linux.* ld=ld-linux.so.2
1a6d7967 52sparc64-.*-linux.* ld=ld-linux.so.2 GLIBC_2.2
4e75fa85 53sparc.*-.*-linux.* ld=ld-linux.so.2
41df5ed4 54alpha.*-.*-linux.* ld=ld-linux.so.2
3f62b69a 55arm.*-.*-linux.* ld=ld-linux.so.2
6e62dceb 56sh.*-.*-linux.* ld=ld-linux.so.2 GLIBC_2.2
aa1b0984 57ia64-.*-linux.* ld=ld-linux-ia64.so.2 GLIBC_2.2
d0a5dae4 58mips.*-.*-linux.* ld=ld.so.1 GLIBC_2.0 GLIBC_2.2
d41c6f61 59# We use the ELF ABI standard name for the default.
8a523922 60.*-.*-.* ld=ld.so.1
d41c6f61 61
f68b86cc 62# The -ldl interface (see <dlfcn.h>) is the same on all platforms.
41df5ed4 63alpha.*-.*-linux.* libdl=2.1
d0a5dae4 64mips.*-.*-linux.* libdl=2 GLIBC_2.0 GLIBC_2.2
8a523922 65.*-.*-.* libdl=2
26da047f
RM
66
67# So far the -lutil interface is the same on all platforms, except for the
68# `struct utmp' format, which depends on libc.
41df5ed4 69alpha.*-.*-linux.* libutil=1.1
8a523922 70.*-.*-.* libutil=1
5f0e6fc7 71
d41c6f61 72# Version number 2 is used on other systems for the BIND 4.9.5 resolver
5f0e6fc7 73# interface.
41df5ed4 74alpha.*-.*-linux.* libresolv=2.1
69a79602 75mips.*-.*-linux.* libresolv=2 GLIBC_2.0 GLIBC_2.2
8a523922 76.*-.*-.* libresolv=2
5f0e6fc7
RM
77
78# Interface revision of nss_* modules. This must match NSS_SHLIB_REVISION
79# in nss/nsswitch.h, which determines the library names used for service
80# names given in /etc/nsswitch.conf.
69a79602
AJ
81mips.*-.*-linux.* libnss_files=2 GLIBC_2.0 GLIBC_2.2
82mips.*-.*-linux.* libnss_dns=2 GLIBC_2.0 GLIBC_2.2
69a79602
AJ
83mips.*-.*-linux.* libnss_compat=2 GLIBC_2.0 GLIBC_2.2
84mips.*-.*-linux.* libnss_nis=2 GLIBC_2.0 GLIBC_2.2
85mips.*-.*-linux.* libnss_nisplus=2 GLIBC_2.0 GLIBC_2.2
86mips.*-.*-linux.* libnss_ldap=2 GLIBC_2.0 GLIBC_2.2
87mips.*-.*-linux.* libnss_hesiod=2 GLIBC_2.0 GLIBC_2.2
d71b808a
UD
88.*-.*-.* libnss_files=2
89.*-.*-.* libnss_dns=2
d71b808a
UD
90.*-.*-.* libnss_compat=2
91.*-.*-.* libnss_nis=2
92.*-.*-.* libnss_nisplus=2
93.*-.*-.* libnss_ldap=2
94.*-.*-.* libnss_hesiod=2
6259ec0d 95
e61abf83 96# Version for libnsl with YP and NIS+ functions.
41df5ed4 97alpha.*-.*-linux.* libnsl=1.1
69a79602 98mips.*-.*-linux.* libnsl=1 GLIBC_2.0 GLIBC_2.2
6259ec0d 99.*-.*-.* libnsl=1
bba7bb78 100
ba1ffaa1 101# This defines the shared library version numbers we will install.
41df5ed4 102alpha.*-.*-linux.* libcrypt=1.1
8a523922 103.*-.*-.* libcrypt=1
6259ec0d 104
5b826692 105# The gross patch for programs assuming broken locale implementations.
41df5ed4 106alpha.*-.*-linux.* libBrokenLocale=1.1
6259ec0d 107.*-.*-.* libBrokenLocale=1
cbdee279
UD
108
109# The real-time library from POSIX.1b.
69a79602 110mips.*-.*-linux.* librt=1 GLIBC_2.0 GLIBC_2.2
cbdee279 111.*-.*-.* librt=1