manual: Sort overview listing by manual order.
[glibc.git] / shlib-versions
blob78b0ad74fa8fb153ad7b6c480c5949048c106300
1 # This file defines the shared library version numbers we will install.
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.
8 # This file can use cpp-style conditionals starting with % instead of #
9 # to test the symbols defined in config.h by configure.
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.
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.
21 # Configuration         DEFAULT                 Earliest symbol set
22 # -------------         ---------------         ------------------------------
24 s390x-.*-linux.*        DEFAULT                 GLIBC_2.2
25 powerpc64-.*-linux.*    DEFAULT                 GLIBC_2.3
26 powerpc.*le-.*-linux.*  DEFAULT                 GLIBC_2.17
27 .*-.*-gnu-gnu.*         DEFAULT                 GLIBC_2.2.6
29 # Configuration         ABI                     Identifier for ABI data files
30 # -------------         ----------              -----------------------------
31 sparc64.*-.*-.*         ABI                     sparc64-@OS@
32 sparc.*-.*-.*           ABI                     sparc-@OS@
34 # Configuration         Library=version         Earliest symbol set (optional)
35 # -------------         ---------------         ------------------------------
37 # The interface to -lm depends mostly only on cpu, not on operating system.
38 sparc64.*-.*-linux.*    libm=6                  GLIBC_2.2
39 sh.*-.*-linux.*         libm=6                  GLIBC_2.2
40 .*-.*-linux.*           libm=6
41 .*-.*-gnu-gnu.*         libm=6
43 # We provide libc.so.6 for Linux kernel versions 2.0 and later.
44 sh.*-.*-linux.*         libc=6                  GLIBC_2.2
45 sparc64.*-.*-linux.*    libc=6                  GLIBC_2.2
46 .*-.*-linux.*           libc=6
48 # libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
49 .*-.*-gnu-gnu.*         libmachuser=1
51 # libhurduser.so.0.3 corresponds to hurd/*.defs as of 11 June 2002.
52 .*-.*-gnu-gnu.*         libhurduser=0.3
54 # libc.so.0.3 is the first Hurd libc using libio.
55 .*-.*-gnu-gnu.*         libc=0.3
57 # The dynamic loader also requires different names.
58 sparc64.*-.*-linux.*    ld=ld-linux.so.2        GLIBC_2.2
59 sparc.*-.*-linux.*      ld=ld-linux.so.2
60 sh.*-.*-linux.*         ld=ld-linux.so.2        GLIBC_2.2
61 # We use the ELF ABI standard name for the default.
62 .*-.*-.*                ld=ld.so.1
64 # The -ldl interface (see <dlfcn.h>) is the same on all platforms.
65 .*-.*-.*                libdl=2
67 # So far the -lutil interface is the same on all platforms, except for the
68 # `struct utmp' format, which depends on libc.
69 .*-.*-.*                libutil=1
71 # Version number 2 is used on other systems for the BIND 4.9.5 resolver
72 # interface.
73 .*-.*-.*                libresolv=2
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.
78 .*-.*-.*                libnss_files=2
79 .*-.*-.*                libnss_dns=2
80 .*-.*-.*                libnss_compat=2
81 .*-.*-.*                libnss_nis=2
82 .*-.*-.*                libnss_nisplus=2
83 .*-.*-.*                libnss_ldap=2
84 .*-.*-.*                libnss_hesiod=2
85 .*-.*-.*                libnss_db=2
87 # Tests for NSS.  They must have the same NSS_SHLIB_REVISION number as
88 # the rest.
89 .*-.*-.*                libnss_test1=2
91 # Version for libnsl with YP and NIS+ functions.
92 .*-.*-.*                libnsl=1
94 # This defines the shared library version numbers we will install.
95 .*-.*-.*                libcrypt=1
97 # The gross patch for programs assuming broken locale implementations.
98 sh.*-.*-.*              libBrokenLocale=1       GLIBC_2.2
99 sparc64.*-.*-.*         libBrokenLocale=1       GLIBC_2.2
100 .*-.*-.*                libBrokenLocale=1
102 # The real-time library from POSIX.1b.
103 .*-.*-.*                librt=1
105 # The asynchronous name lookup library.
106 .*-.*-.*                libanl=1
108 # This defines the libgcc soname version this glibc is to load for
109 # asynchronous cancellation to work correctly.
110 .*-.*-.*                libgcc_s=1