]> 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.
dda7bd84
UD
15#
16# An entry with DEFAULT in the second column gives a default third column
17# to apply on matching configurations when the matching entry for a particular
18# library has no third column. The defaults must precede the entries they
19# apply to.
20
21# Configuration DEFAULT Earliest symbol set
22# ------------- --------------- ------------------------------
23
24s390x-.*-linux.* DEFAULT GLIBC_2.2
25cris-.*-linux.* DEFAULT GLIBC_2.2
85458ce9 26x86_64-.*-linux.* DEFAULT GLIBC_2.2.5
e418753c
RM
27%if defined(USE_IN_LIBIO) && !defined(GLIBC_OLDEST_ABI)
28// If you use configure --enable-libio --enable-oldest-abi=2.0 then we
29// won't rename the old version sets and all the libraries except libc
30// itself ought to be binary compatible with the libc.so.0.2 ABI.
c3853534 31.*-.*-gnu-gnu.* DEFAULT GLIBC_2.2.5
e418753c 32%endif
733af7d6 33
361742ed
RM
34# Configuration Library=version Earliest symbol set (optional)
35# ------------- --------------- ------------------------------
0e3426bb 36
714a562f 37# The interface to -lm depends mostly only on cpu, not on operating system.
1a6d7967 38sparc64-.*-linux.* libm=6 GLIBC_2.2
41df5ed4 39alpha.*-.*-linux.* libm=6.1
d0a5dae4 40mips.*-.*-linux.* libm=6 GLIBC_2.0 GLIBC_2.2
2119c705
UD
41ia64-.*-linux.* libm=6.1 GLIBC_2.2
42sh.*-.*-linux.* libm=6 GLIBC_2.2
b15cb495 43hppa.*-.*-.* libm=6 GLIBC_2.2
2119c705
UD
44.*-.*-linux.* libm=6
45.*-.*-gnu-gnu.* libm=6
0e3426bb 46
ec2ac6d5 47# We provide libc.so.6 for Linux kernel versions 2.0 and later.
41df5ed4 48alpha.*-.*-linux.* libc=6.1
733af7d6
RM
49# Working mips versions were never released between 2.0 and 2.2.
50mips.*-.*-linux.* libc=6 GLIBC_2.0 GLIBC_2.2
2119c705
UD
51ia64-.*-linux.* libc=6.1 GLIBC_2.2
52sh.*-.*-linux.* libc=6 GLIBC_2.2
1a6d7967 53sparc64-.*-linux.* libc=6 GLIBC_2.2
b15cb495 54hppa.*-.*-.* libc=6 GLIBC_2.2
714a562f 55.*-.*-linux.* libc=6
0e3426bb
RM
56
57# libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
8a523922 58.*-.*-gnu-gnu.* libmachuser=1
0e3426bb
RM
59
60# libhurduser.so.0.0 corresponds to hurd/*.defs as of 7 May 1996.
2119c705 61.*-.*-gnu-gnu.* libhurduser=0.0
f68b86cc 62
dda7bd84 63%ifndef USE_IN_LIBIO
8a080f40 64# libc.so.0.2 is for the Hurd alpha release 0.2.
2119c705 65.*-.*-gnu-gnu.* libc=0.2
e418753c
RM
66%else
67# libc.so.0.3 is the first Hurd libc using libio.
68.*-.*-gnu-gnu.* libc=0.3
88268852 69%endif
ec2ac6d5 70
d41c6f61 71# The dynamic loader also requires different names.
8a523922 72i.86-.*-linux.* ld=ld-linux.so.2
1a6d7967 73sparc64-.*-linux.* ld=ld-linux.so.2 GLIBC_2.2
4e75fa85 74sparc.*-.*-linux.* ld=ld-linux.so.2
41df5ed4 75alpha.*-.*-linux.* ld=ld-linux.so.2
3f62b69a 76arm.*-.*-linux.* ld=ld-linux.so.2
6e62dceb 77sh.*-.*-linux.* ld=ld-linux.so.2 GLIBC_2.2
aa1b0984 78ia64-.*-linux.* ld=ld-linux-ia64.so.2 GLIBC_2.2
d0a5dae4 79mips.*-.*-linux.* ld=ld.so.1 GLIBC_2.0 GLIBC_2.2
b15cb495 80hppa.*-.*-.* ld=ld.so.1 GLIBC_2.2
136d4332 81s390x-.*-linux.* ld=ld64.so.1 GLIBC_2.2
eacde9d0 82cris-.*-linux.* ld=ld.so.1 GLIBC_2.2
85458ce9 83x86_64-.*-linux.* ld=ld-linux-x86-64.so.2 GLIBC_2.2.5
d41c6f61 84# We use the ELF ABI standard name for the default.
8a523922 85.*-.*-.* ld=ld.so.1
d41c6f61 86
f68b86cc 87# The -ldl interface (see <dlfcn.h>) is the same on all platforms.
41df5ed4 88alpha.*-.*-linux.* libdl=2.1
d0a5dae4 89mips.*-.*-linux.* libdl=2 GLIBC_2.0 GLIBC_2.2
8a523922 90.*-.*-.* libdl=2
26da047f
RM
91
92# So far the -lutil interface is the same on all platforms, except for the
93# `struct utmp' format, which depends on libc.
41df5ed4 94alpha.*-.*-linux.* libutil=1.1
8a523922 95.*-.*-.* libutil=1
5f0e6fc7 96
d41c6f61 97# Version number 2 is used on other systems for the BIND 4.9.5 resolver
5f0e6fc7 98# interface.
41df5ed4 99alpha.*-.*-linux.* libresolv=2.1
69a79602 100mips.*-.*-linux.* libresolv=2 GLIBC_2.0 GLIBC_2.2
8a523922 101.*-.*-.* libresolv=2
5f0e6fc7
RM
102
103# Interface revision of nss_* modules. This must match NSS_SHLIB_REVISION
104# in nss/nsswitch.h, which determines the library names used for service
105# names given in /etc/nsswitch.conf.
69a79602
AJ
106mips.*-.*-linux.* libnss_files=2 GLIBC_2.0 GLIBC_2.2
107mips.*-.*-linux.* libnss_dns=2 GLIBC_2.0 GLIBC_2.2
69a79602
AJ
108mips.*-.*-linux.* libnss_compat=2 GLIBC_2.0 GLIBC_2.2
109mips.*-.*-linux.* libnss_nis=2 GLIBC_2.0 GLIBC_2.2
110mips.*-.*-linux.* libnss_nisplus=2 GLIBC_2.0 GLIBC_2.2
111mips.*-.*-linux.* libnss_ldap=2 GLIBC_2.0 GLIBC_2.2
112mips.*-.*-linux.* libnss_hesiod=2 GLIBC_2.0 GLIBC_2.2
d71b808a
UD
113.*-.*-.* libnss_files=2
114.*-.*-.* libnss_dns=2
d71b808a
UD
115.*-.*-.* libnss_compat=2
116.*-.*-.* libnss_nis=2
117.*-.*-.* libnss_nisplus=2
118.*-.*-.* libnss_ldap=2
119.*-.*-.* libnss_hesiod=2
6259ec0d 120
e61abf83 121# Version for libnsl with YP and NIS+ functions.
41df5ed4 122alpha.*-.*-linux.* libnsl=1.1
69a79602 123mips.*-.*-linux.* libnsl=1 GLIBC_2.0 GLIBC_2.2
6259ec0d 124.*-.*-.* libnsl=1
bba7bb78 125
ba1ffaa1 126# This defines the shared library version numbers we will install.
41df5ed4 127alpha.*-.*-linux.* libcrypt=1.1
8a523922 128.*-.*-.* libcrypt=1
6259ec0d 129
5b826692 130# The gross patch for programs assuming broken locale implementations.
41df5ed4 131alpha.*-.*-linux.* libBrokenLocale=1.1
56f77c8b
AJ
132ia64-.*-.* libBrokenLocale=1 GLIBC_2.2
133sh.*-.*-.* libBrokenLocale=1 GLIBC_2.2
134sparc64-.*-.* libBrokenLocale=1 GLIBC_2.2
b15cb495 135hppa-.*-.* libBrokenLocale=1 GLIBC_2.2
6259ec0d 136.*-.*-.* libBrokenLocale=1
cbdee279
UD
137
138# The real-time library from POSIX.1b.
69a79602 139mips.*-.*-linux.* librt=1 GLIBC_2.0 GLIBC_2.2
cbdee279 140.*-.*-.* librt=1
2ace5721
UD
141
142# The asynchronous name lookup library.
143.*-.*-.* libanl=1