42e513199fd13a6960f601efa28d9b83a67dd007
[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 # Configuration         Library versions
9 # -------------         ------- --------
10
11 # The interface to -lm depends only on cpu, not on operating system.
12 i?86-*-*                libm=6
13 m68k-*-*                libm=6
14 alpha-*-*               libm=6
15
16 # We provide libc.so.6 for Linux kernel versions 1.3.95 and later.
17 i?86-*-linux*           libc=6
18 m68k-*-linux*           libc=6
19 alpha-*-linux*          libc=6
20
21 # libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
22 *-*-gnu*                libmachuser=1
23
24 # libhurduser.so.0.0 corresponds to hurd/*.defs as of 7 May 1996.
25 *-*-gnu*                libhurduser=0.0
26
27 # The -ldl interface (see <dlfcn.h>) is the same on all platforms.
28 *-*-*                   libdl=2
29
30 # So far the -lutil interface is the same on all platforms, except for the
31 # `struct utmp' format, which depends on libc.
32 *-*-*                   libutil=1
33
34 # Version number 2 is used on other systems for the BIND 4.9.4 resolver
35 # interface.
36 *-*-*                   libresolv=2
37
38 # Interface revision of nss_* modules.  This must match NSS_SHLIB_REVISION
39 # in nss/nsswitch.h, which determines the library names used for service
40 # names given in /etc/nsswitch.conf.
41 *-*-*                   libnss_files=1
42 *-*-*                   libnss_dns=1
43 *-*-*                   libnss_db=1
44
45 # We use libdb.so.2 for the interface in version 1.85 of the Berkeley DB code.
46 *-*-*                   libdb=2