]> git.ipfire.org Git - thirdparty/glibc.git/blob - shlib-versions
14a9e6ab49cc955948a0878d995c5ab01ec4ab8d
[thirdparty/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 # Configuration Library=version Earliest symbol set (optional)
17 # ------------- --------------- ------------------------------
18
19 # The interface to -lm depends mostly only on cpu, not on operating system.
20 i.86-.*-.* libm=6
21 m68k-.*-.* libm=6
22 sparc.*-.*-.* libm=6
23 alpha.*-.*-linux.* libm=6.1
24 alpha.*-.*-.* libm=6
25 powerpc-.*-.* libm=6
26 mips.*-.*-linux.* libm=6 GLIBC_2.0 GLIBC_2.2
27 mips.*-.*-.* libm=6
28 arm.*-.*-.* libm=6
29 ia64-.*-.* libm=6 GLIBC_2.2
30
31 # We provide libc.so.6 for Linux kernel versions 2.0 and later.
32 alpha.*-.*-linux.* libc=6.1
33 # Working mips versions were never released between 2.0 and 2.2.
34 mips.*-.*-linux.* libc=6 GLIBC_2.0 GLIBC_2.2
35 ia64-.*-.* libc=6 GLIBC_2.2
36 .*-.*-linux.* libc=6
37
38 # libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
39 .*-.*-gnu-gnu.* libmachuser=1
40
41 # libhurduser.so.0.0 corresponds to hurd/*.defs as of 7 May 1996.
42 .*-.*-gnu-gnu* libhurduser=0.0
43
44 # libc.so.0.2 is for the Hurd alpha release 0.2.
45 %ifdef USE_IN_LIBIO /* experimental only! */
46 .*-.*-gnu-gnu* libc=0.2.90.libio GLIBC_2.2
47 %else
48 .*-.*-gnu-gnu* libc=0.2
49 %endif
50
51 # The dynamic loader also requires different names.
52 i.86-.*-linux.* ld=ld-linux.so.2
53 sparc64-.*-linux.* ld=ld-linux.so.2
54 sparc.*-.*-linux.* ld=ld-linux.so.2
55 alpha.*-.*-linux.* ld=ld-linux.so.2
56 arm.*-.*-linux.* ld=ld-linux.so.2
57 ia64-.*-linux.* ld=ld-linux.so.2 GLIBC_2.2
58 mips.*-.*-linux.* ld=ld.so.1 GLIBC_2.0 GLIBC_2.2
59 # We use the ELF ABI standard name for the default.
60 .*-.*-.* ld=ld.so.1
61
62 # The -ldl interface (see <dlfcn.h>) is the same on all platforms.
63 alpha.*-.*-linux.* libdl=2.1
64 mips.*-.*-linux.* libdl=2 GLIBC_2.0 GLIBC_2.2
65 .*-.*-.* libdl=2
66
67 # So far the -lutil interface is the same on all platforms, except for the
68 # `struct utmp' format, which depends on libc.
69 alpha.*-.*-linux.* libutil=1.1
70 .*-.*-.* libutil=1
71
72 # Version number 2 is used on other systems for the BIND 4.9.5 resolver
73 # interface.
74 alpha.*-.*-linux.* libresolv=2.1
75 .*-.*-.* libresolv=2
76
77 # Interface revision of nss_* modules. This must match NSS_SHLIB_REVISION
78 # in nss/nsswitch.h, which determines the library names used for service
79 # names given in /etc/nsswitch.conf.
80 .*-.*-.* libnss_files=2
81 .*-.*-.* libnss_dns=2
82 .*-.*-.* libnss_db=2
83 .*-.*-.* libnss_compat=2
84 .*-.*-.* libnss_nis=2
85 .*-.*-.* libnss_nisplus=2
86 .*-.*-.* libnss_ldap=2
87 .*-.*-.* libnss_hesiod=2
88
89 # Version for libnsl with YP and NIS+ functions.
90 alpha.*-.*-linux.* libnsl=1.1
91 .*-.*-.* libnsl=1
92
93 # We use libdb.so.3 for the interface in version 2.x of the Berkeley DB code.
94 .*-.*-.* libdb=3
95 # This is the Berkeley DB 1.85. We use the version numbers from glibc 2.0.*
96 # for all times.
97 alpha-.*-linux.* libdb1=2.1
98 .*-.*-.* libdb1=2
99
100 # This defines the shared library version numbers we will install.
101 alpha.*-.*-linux.* libcrypt=1.1
102 .*-.*-.* libcrypt=1
103
104 # The gross patch for programs assuming broken locale implementations.
105 alpha.*-.*-linux.* libBrokenLocale=1.1
106 .*-.*-.* libBrokenLocale=1
107
108 # The real-time library from POSIX.1b.
109 .*-.*-.* librt=1