]> git.ipfire.org Git - thirdparty/glibc.git/blame - shlib-versions
* manual/check-safety.sh: New.
[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.
91adb529 20#
dda7bd84
UD
21# Configuration DEFAULT Earliest symbol set
22# ------------- --------------- ------------------------------
23
24s390x-.*-linux.* DEFAULT GLIBC_2.2
92b27c74 25powerpc64-.*-linux.* DEFAULT GLIBC_2.3
8f9ebb08 26powerpc.*le-.*-linux.* DEFAULT GLIBC_2.18
b2b1c593 27.*-.*-gnu-gnu.* DEFAULT GLIBC_2.2.6
733af7d6 28
e85f1d6a
RM
29# Configuration ABI Identifier for ABI data files
30# ------------- ---------- -----------------------------
31sparc64.*-.*-.* ABI sparc64-@OS@
32sparc.*-.*-.* ABI sparc-@OS@
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.
043cee37 38sparc64.*-.*-linux.* libm=6 GLIBC_2.2
2119c705
UD
39sh.*-.*-linux.* libm=6 GLIBC_2.2
40.*-.*-linux.* libm=6
41.*-.*-gnu-gnu.* libm=6
0e3426bb 42
ec2ac6d5 43# We provide libc.so.6 for Linux kernel versions 2.0 and later.
2119c705 44sh.*-.*-linux.* libc=6 GLIBC_2.2
043cee37 45sparc64.*-.*-linux.* libc=6 GLIBC_2.2
714a562f 46.*-.*-linux.* libc=6
0e3426bb
RM
47
48# libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
8a523922 49.*-.*-gnu-gnu.* libmachuser=1
0e3426bb 50
337738b7
RM
51# libhurduser.so.0.3 corresponds to hurd/*.defs as of 11 June 2002.
52.*-.*-gnu-gnu.* libhurduser=0.3
f68b86cc 53
e418753c
RM
54# libc.so.0.3 is the first Hurd libc using libio.
55.*-.*-gnu-gnu.* libc=0.3
ec2ac6d5 56
d41c6f61 57# The dynamic loader also requires different names.
043cee37 58sparc64.*-.*-linux.* ld=ld-linux.so.2 GLIBC_2.2
4e75fa85 59sparc.*-.*-linux.* ld=ld-linux.so.2
6e62dceb 60sh.*-.*-linux.* ld=ld-linux.so.2 GLIBC_2.2
d41c6f61 61# We use the ELF ABI standard name for the default.
8a523922 62.*-.*-.* ld=ld.so.1
d41c6f61 63
f68b86cc 64# The -ldl interface (see <dlfcn.h>) is the same on all platforms.
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.
8a523922 69.*-.*-.* libutil=1
5f0e6fc7 70
d41c6f61 71# Version number 2 is used on other systems for the BIND 4.9.5 resolver
5f0e6fc7 72# interface.
8a523922 73.*-.*-.* libresolv=2
5f0e6fc7
RM
74
75# Interface revision of nss_* modules. This must match NSS_SHLIB_REVISION
76# in nss/nsswitch.h, which determines the library names used for service
77# names given in /etc/nsswitch.conf.
d71b808a
UD
78.*-.*-.* libnss_files=2
79.*-.*-.* libnss_dns=2
d71b808a
UD
80.*-.*-.* libnss_compat=2
81.*-.*-.* libnss_nis=2
82.*-.*-.* libnss_nisplus=2
83.*-.*-.* libnss_ldap=2
84.*-.*-.* libnss_hesiod=2
2666d441 85.*-.*-.* libnss_db=2
6259ec0d 86
c3e2f19b
UD
87# Tests for NSS. They must have the same NSS_SHLIB_REVISION number as
88# the rest.
89.*-.*-.* libnss_test1=2
90
e61abf83 91# Version for libnsl with YP and NIS+ functions.
6259ec0d 92.*-.*-.* libnsl=1
bba7bb78 93
ba1ffaa1 94# This defines the shared library version numbers we will install.
8a523922 95.*-.*-.* libcrypt=1
6259ec0d 96
5b826692 97# The gross patch for programs assuming broken locale implementations.
56f77c8b 98sh.*-.*-.* libBrokenLocale=1 GLIBC_2.2
043cee37 99sparc64.*-.*-.* libBrokenLocale=1 GLIBC_2.2
6259ec0d 100.*-.*-.* libBrokenLocale=1
cbdee279
UD
101
102# The real-time library from POSIX.1b.
103.*-.*-.* librt=1
2ace5721
UD
104
105# The asynchronous name lookup library.
106.*-.*-.* libanl=1
6e236b92
SP
107
108# This defines the libgcc soname version this glibc is to load for
109# asynchronous cancellation to work correctly.
110.*-.*-.* libgcc_s=1