Move OS-specific shlib-versions entries to sysdeps files.
[glibc.git] / shlib-versions
blobd34dea8e4227391ea588d8f33a4b851e1e13ff43
1 # This file (and shlib-versions files in sysdeps directories) defines
2 # the shared library version numbers we will install.
4 # The following lines list filename patterns matching canonical configurations,
5 # and the associated versions to use for various libraries.  The entire
6 # list is processed, with earlier entries taking precedence over later
7 # entries.  So loose patterns at the end of the list can give defaults.
9 # This file can use cpp-style conditionals starting with % instead of #
10 # to test the symbols defined in config.h by configure.
12 # In the optional third column, there can one or more symbol set names
13 # listed, which must be in ascending version order reading left to right
14 # and must appear in this same order in the Versions.def file.  Each listed
15 # version subsumes all prior versions back to the previous listed version.
17 # An entry with DEFAULT in the second column gives a default third column
18 # to apply on matching configurations when the matching entry for a particular
19 # library has no third column.  The defaults must precede the entries they
20 # apply to.
22 # Configuration         Library=version         Earliest symbol set (optional)
23 # -------------         ---------------         ------------------------------
25 # We use the ELF ABI standard name for the default.
26 .*-.*-.*                ld=ld.so.1
28 # The -ldl interface (see <dlfcn.h>) is the same on all platforms.
29 .*-.*-.*                libdl=2
31 # So far the -lutil interface is the same on all platforms, except for the
32 # `struct utmp' format, which depends on libc.
33 .*-.*-.*                libutil=1
35 # Version number 2 is used on other systems for the BIND 4.9.5 resolver
36 # interface.
37 .*-.*-.*                libresolv=2
39 # Interface revision of nss_* modules.  This must match NSS_SHLIB_REVISION
40 # in nss/nsswitch.h, which determines the library names used for service
41 # names given in /etc/nsswitch.conf.
42 .*-.*-.*                libnss_files=2
43 .*-.*-.*                libnss_dns=2
44 .*-.*-.*                libnss_compat=2
45 .*-.*-.*                libnss_nis=2
46 .*-.*-.*                libnss_nisplus=2
47 .*-.*-.*                libnss_ldap=2
48 .*-.*-.*                libnss_hesiod=2
49 .*-.*-.*                libnss_db=2
51 # Tests for NSS.  They must have the same NSS_SHLIB_REVISION number as
52 # the rest.
53 .*-.*-.*                libnss_test1=2
55 # Version for libnsl with YP and NIS+ functions.
56 .*-.*-.*                libnsl=1
58 # This defines the shared library version numbers we will install.
59 .*-.*-.*                libcrypt=1
61 # The gross patch for programs assuming broken locale implementations.
62 .*-.*-.*                libBrokenLocale=1
64 # The real-time library from POSIX.1b.
65 .*-.*-.*                librt=1
67 # The asynchronous name lookup library.
68 .*-.*-.*                libanl=1
70 # This defines the libgcc soname version this glibc is to load for
71 # asynchronous cancellation to work correctly.
72 .*-.*-.*                libgcc_s=1