]> git.ipfire.org Git - thirdparty/glibc.git/blob - shlib-versions
Update.
[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 sparc64-.*-linux.* libm=6 GLIBC_2.2
21 alpha.*-.*-linux.* libm=6.1
22 mips.*-.*-linux.* libm=6 GLIBC_2.0 GLIBC_2.2
23 ia64-.*-linux.* libm=6.1 GLIBC_2.2
24 sh.*-.*-linux.* libm=6 GLIBC_2.2
25 hppa.*-.*-.* libm=6 GLIBC_2.2
26 s390x-.*-linux.* libm=6 GLIBC_2.2
27 cris-.*-linux.* libm=6 GLIBC_2.2
28 .*-.*-linux.* libm=6
29 .*-.*-gnu-gnu.* libm=6
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-.*-linux.* libc=6.1 GLIBC_2.2
36 sh.*-.*-linux.* libc=6 GLIBC_2.2
37 sparc64-.*-linux.* libc=6 GLIBC_2.2
38 hppa.*-.*-.* libc=6 GLIBC_2.2
39 s390x-.*-linux.* libc=6 GLIBC_2.2
40 cris-.*-linux.* libc=6 GLIBC_2.2
41 .*-.*-linux.* libc=6
42
43 # libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
44 .*-.*-gnu-gnu.* libmachuser=1
45
46 # libhurduser.so.0.0 corresponds to hurd/*.defs as of 7 May 1996.
47 .*-.*-gnu-gnu.* libhurduser=0.0
48
49 # libc.so.0.2 is for the Hurd alpha release 0.2.
50 %ifdef USE_IN_LIBIO /* experimental only! */
51 .*-.*-gnu-gnu.* libc=0.2.90.libio GLIBC_2.2
52 %else
53 .*-.*-gnu-gnu.* libc=0.2
54 %endif
55
56 # The dynamic loader also requires different names.
57 i.86-.*-linux.* ld=ld-linux.so.2
58 sparc64-.*-linux.* ld=ld-linux.so.2 GLIBC_2.2
59 sparc.*-.*-linux.* ld=ld-linux.so.2
60 alpha.*-.*-linux.* ld=ld-linux.so.2
61 arm.*-.*-linux.* ld=ld-linux.so.2
62 sh.*-.*-linux.* ld=ld-linux.so.2 GLIBC_2.2
63 ia64-.*-linux.* ld=ld-linux-ia64.so.2 GLIBC_2.2
64 mips.*-.*-linux.* ld=ld.so.1 GLIBC_2.0 GLIBC_2.2
65 hppa.*-.*-.* ld=ld.so.1 GLIBC_2.2
66 s390x-.*-linux.* ld=ld64.so.1 GLIBC_2.2
67 cris-.*-linux.* ld=ld.so.1 GLIBC_2.2
68 # We use the ELF ABI standard name for the default.
69 .*-.*-.* ld=ld.so.1
70
71 # The -ldl interface (see <dlfcn.h>) is the same on all platforms.
72 alpha.*-.*-linux.* libdl=2.1
73 mips.*-.*-linux.* libdl=2 GLIBC_2.0 GLIBC_2.2
74 s390x-.*-linux.* libdl=2 GLIBC_2.2
75 cris-.*-linux.* libdl=2 GLIBC_2.2
76 .*-.*-.* libdl=2
77
78 # So far the -lutil interface is the same on all platforms, except for the
79 # `struct utmp' format, which depends on libc.
80 alpha.*-.*-linux.* libutil=1.1
81 s390x-.*-linux.* libutil=1 GLIBC_2.2
82 cris-.*-linux.* libutil=1 GLIBC_2.2
83 .*-.*-.* libutil=1
84
85 # Version number 2 is used on other systems for the BIND 4.9.5 resolver
86 # interface.
87 alpha.*-.*-linux.* libresolv=2.1
88 mips.*-.*-linux.* libresolv=2 GLIBC_2.0 GLIBC_2.2
89 .*-.*-.* libresolv=2
90
91 # Interface revision of nss_* modules. This must match NSS_SHLIB_REVISION
92 # in nss/nsswitch.h, which determines the library names used for service
93 # names given in /etc/nsswitch.conf.
94 mips.*-.*-linux.* libnss_files=2 GLIBC_2.0 GLIBC_2.2
95 mips.*-.*-linux.* libnss_dns=2 GLIBC_2.0 GLIBC_2.2
96 mips.*-.*-linux.* libnss_compat=2 GLIBC_2.0 GLIBC_2.2
97 mips.*-.*-linux.* libnss_nis=2 GLIBC_2.0 GLIBC_2.2
98 mips.*-.*-linux.* libnss_nisplus=2 GLIBC_2.0 GLIBC_2.2
99 mips.*-.*-linux.* libnss_ldap=2 GLIBC_2.0 GLIBC_2.2
100 mips.*-.*-linux.* libnss_hesiod=2 GLIBC_2.0 GLIBC_2.2
101 s390x-.*-linux.* libnss_files=2 GLIBC_2.2
102 s390x-.*-linux.* libnss_dns=2 GLIBC_2.2
103 s390x-.*-linux.* libnss_compat=2 GLIBC_2.2
104 s390x-.*-linux.* libnss_nis=2 GLIBC_2.2
105 s390x-.*-linux.* libnss_nisplus=2 GLIBC_2.2
106 s390x-.*-linux.* libnss_ldap=2 GLIBC_2.2
107 s390x-.*-linux.* libnss_hesiod=2 GLIBC_2.2
108 cris-.*-linux.* libnss_files=2 GLIBC_2.2
109 cris-.*-linux.* libnss_dns=2 GLIBC_2.2
110 cris-.*-linux.* libnss_compat=2 GLIBC_2.2
111 cris-.*-linux.* libnss_nis=2 GLIBC_2.2
112 cris-.*-linux.* libnss_nisplus=2 GLIBC_2.2
113 cris-.*-linux.* libnss_ldap=2 GLIBC_2.2
114 cris-.*-linux.* libnss_hesiod=2 GLIBC_2.2
115 .*-.*-.* libnss_files=2
116 .*-.*-.* libnss_dns=2
117 .*-.*-.* libnss_compat=2
118 .*-.*-.* libnss_nis=2
119 .*-.*-.* libnss_nisplus=2
120 .*-.*-.* libnss_ldap=2
121 .*-.*-.* libnss_hesiod=2
122
123 # Version for libnsl with YP and NIS+ functions.
124 alpha.*-.*-linux.* libnsl=1.1
125 mips.*-.*-linux.* libnsl=1 GLIBC_2.0 GLIBC_2.2
126 s390x-.*-linux.* libnsl=1 GLIBC_2.2
127 cris-.*-linux.* libnsl=1 GLIBC_2.2
128 .*-.*-.* libnsl=1
129
130 # This defines the shared library version numbers we will install.
131 alpha.*-.*-linux.* libcrypt=1.1
132 s390x-.*-linux.* libcrypt=1 GLIBC_2.2
133 cris-.*-linux.* libcrypt=1 GLIBC_2.2
134 .*-.*-.* libcrypt=1
135
136 # The gross patch for programs assuming broken locale implementations.
137 alpha.*-.*-linux.* libBrokenLocale=1.1
138 ia64-.*-.* libBrokenLocale=1 GLIBC_2.2
139 sh.*-.*-.* libBrokenLocale=1 GLIBC_2.2
140 sparc64-.*-.* libBrokenLocale=1 GLIBC_2.2
141 hppa-.*-.* libBrokenLocale=1 GLIBC_2.2
142 s390x-.*-linux.* libBrokenLocale=1 GLIBC_2.2
143 cris-.*-linux.* libBrokenLocale=1 GLIBC_2.2
144 .*-.*-.* libBrokenLocale=1
145
146 # The real-time library from POSIX.1b.
147 mips.*-.*-linux.* librt=1 GLIBC_2.0 GLIBC_2.2
148 s390x-.*-linux.* librt=1 GLIBC_2.2
149 cris-.*-linux.* librt=1 GLIBC_2.2
150 .*-.*-.* librt=1
151
152 # The asynchronous name lookup library.
153 .*-.*-.* libanl=1