Update.
[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 mostly only on cpu, not on operating system.
12 i.86-.*-.*              libm=6
13 m68k-.*-.*              libm=6
14 sparc-.*-.*             libm=6
15 alpha-.*-linux.*        libm=6.1
16 alpha-.*-.*             libm=6
17 powerpc-.*-.*           libm=6
18 mips-.*-.*              libm=6
19
20 # We provide libc.so.6 for Linux kernel versions 2.0 and later.
21 alpha-.*-linux.*        libc=6.1
22 .*-.*-linux.*           libc=6
23
24 # libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
25 .*-.*-gnu-gnu.*         libmachuser=1
26
27 # libhurduser.so.0.0 corresponds to hurd/*.defs as of 7 May 1996.
28 .*-.*-gnu-gnu*          libhurduser=0.0
29
30 # libc.so.0.2 is for the Hurd alpha release 0.2.
31 .*-.*-gnu-gnu*          libc=0.2
32
33 # The dynamic loader also requires different names.
34 i.86-.*-linux.*         ld=ld-linux.so.2
35 sparc-.*-linux.*        ld=ld-linux.so.2
36 alpha-.*-linux.*        ld=ld-linux.so.2
37 # We use the ELF ABI standard name for the default.
38 .*-.*-.*                ld=ld.so.1
39
40 # The -ldl interface (see <dlfcn.h>) is the same on all platforms.
41 alpha-.*-linux.*        libdl=2.1
42 .*-.*-.*                libdl=2
43
44 # So far the -lutil interface is the same on all platforms, except for the
45 # `struct utmp' format, which depends on libc.
46 alpha-.*-linux.*        libutil=1.1
47 .*-.*-.*                libutil=1
48
49 # Version number 2 is used on other systems for the BIND 4.9.5 resolver
50 # interface.
51 alpha-.*-linux.*        libresolv=2.1
52 .*-.*-.*                libresolv=2
53
54 # Interface revision of nss_* modules.  This must match NSS_SHLIB_REVISION
55 # in nss/nsswitch.h, which determines the library names used for service
56 # names given in /etc/nsswitch.conf.
57 alpha-.*-linux.*        libnss_files=1.1
58 alpha-.*-linux.*        libnss_dns=1.1
59 alpha-.*-linux.*        libnss_db=1.1
60 alpha-.*-linux.*        libnss_compat=1.1
61 alpha-.*-linux.*        libnss_nis=1.1
62 alpha-.*-linux.*        libnss_nisplus=1.1
63 .*-.*-.*                libnss_files=1
64 .*-.*-.*                libnss_dns=1
65 .*-.*-.*                libnss_db=1
66 .*-.*-.*                libnss_compat=1
67 .*-.*-.*                libnss_nis=1
68 .*-.*-.*                libnss_nisplus=1
69
70 # Version for libnsl with YP and NIS+ functions.
71 alpha-.*-linux.*        libnsl=1.1
72 .*-.*-.*                libnsl=1
73
74 # We use libdb.so.2 for the interface in version 1.85 of the Berkeley DB code.
75 alpha-.*-linux.*        libdb=2.1
76 .*-.*-.*                libdb=2
77
78 # This defines the shared library version numbers we will install.
79 alpha-.*-linux.*        libcrypt=1.1
80 .*-.*-.*                libcrypt=1
81
82 # The gross patch for programs assuming broken locale implementations.
83 alpha-.*-linux.*        libBrokenLocale=1.1
84 .*-.*-.*                libBrokenLocale=1