860fb9413372c1cac8be3342a3b6f8c290730800
[platform/upstream/glibc.git] / shlib-versions
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
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.
7
8 # This file can use cpp-style conditionals starting with % instead of #
9 # to test the symbols defined in config.h by configure.
10
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 #
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
24 .*-.*-gnu-gnu.*         DEFAULT                 GLIBC_2.2.6
25
26 # Configuration         Library=version         Earliest symbol set (optional)
27 # -------------         ---------------         ------------------------------
28
29 # The interface to -lm depends mostly only on cpu, not on operating system.
30 .*-.*-linux.*           libm=6
31 .*-.*-gnu-gnu.*         libm=6
32
33 # We provide libc.so.6 for Linux kernel versions 2.0 and later.
34 .*-.*-linux.*           libc=6
35
36 # libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
37 .*-.*-gnu-gnu.*         libmachuser=1
38
39 # libhurduser.so.0.3 corresponds to hurd/*.defs as of 11 June 2002.
40 .*-.*-gnu-gnu.*         libhurduser=0.3
41
42 # libc.so.0.3 is the first Hurd libc using libio.
43 .*-.*-gnu-gnu.*         libc=0.3
44
45 # We use the ELF ABI standard name for the default.
46 .*-.*-.*                ld=ld.so.1
47
48 # The -ldl interface (see <dlfcn.h>) is the same on all platforms.
49 .*-.*-.*                libdl=2
50
51 # So far the -lutil interface is the same on all platforms, except for the
52 # `struct utmp' format, which depends on libc.
53 .*-.*-.*                libutil=1
54
55 # Version number 2 is used on other systems for the BIND 4.9.5 resolver
56 # interface.
57 .*-.*-.*                libresolv=2
58
59 # Interface revision of nss_* modules.  This must match NSS_SHLIB_REVISION
60 # in nss/nsswitch.h, which determines the library names used for service
61 # names given in /etc/nsswitch.conf.
62 .*-.*-.*                libnss_files=2
63 .*-.*-.*                libnss_dns=2
64 .*-.*-.*                libnss_compat=2
65 .*-.*-.*                libnss_nis=2
66 .*-.*-.*                libnss_nisplus=2
67 .*-.*-.*                libnss_ldap=2
68 .*-.*-.*                libnss_hesiod=2
69 .*-.*-.*                libnss_db=2
70
71 # Tests for NSS.  They must have the same NSS_SHLIB_REVISION number as
72 # the rest.
73 .*-.*-.*                libnss_test1=2
74
75 # Version for libnsl with YP and NIS+ functions.
76 .*-.*-.*                libnsl=1
77
78 # This defines the shared library version numbers we will install.
79 .*-.*-.*                libcrypt=1
80
81 # The gross patch for programs assuming broken locale implementations.
82 .*-.*-.*                libBrokenLocale=1
83
84 # The real-time library from POSIX.1b.
85 .*-.*-.*                librt=1
86
87 # The asynchronous name lookup library.
88 .*-.*-.*                libanl=1
89
90 # This defines the libgcc soname version this glibc is to load for
91 # asynchronous cancellation to work correctly.
92 .*-.*-.*                libgcc_s=1