]> git.ipfire.org Git - thirdparty/glibc.git/blame - shlib-versions
2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
[thirdparty/glibc.git] / shlib-versions
CommitLineData
0e3426bb
RM
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
710f7bab
RM
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.
0e3426bb 7
88268852
RM
8# This file can use cpp-style conditionals starting with % instead of #
9# to test the symbols defined in config.h by configure.
10
733af7d6
RM
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
361742ed
RM
16# Configuration Library=version Earliest symbol set (optional)
17# ------------- --------------- ------------------------------
0e3426bb 18
714a562f 19# The interface to -lm depends mostly only on cpu, not on operating system.
8a523922
UD
20i.86-.*-.* libm=6
21m68k-.*-.* libm=6
4e75fa85 22sparc.*-.*-.* libm=6
41df5ed4
RH
23alpha.*-.*-linux.* libm=6.1
24alpha.*-.*-.* libm=6
714a562f 25powerpc-.*-.* libm=6
a46b6648 26mips.*-.*-.* libm=6
3f62b69a 27arm.*-.*-.* libm=6
0e3426bb 28
ec2ac6d5 29# We provide libc.so.6 for Linux kernel versions 2.0 and later.
41df5ed4 30alpha.*-.*-linux.* libc=6.1
733af7d6
RM
31# Working mips versions were never released between 2.0 and 2.2.
32mips.*-.*-linux.* libc=6 GLIBC_2.0 GLIBC_2.2
714a562f 33.*-.*-linux.* libc=6
0e3426bb
RM
34
35# libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
8a523922 36.*-.*-gnu-gnu.* libmachuser=1
0e3426bb
RM
37
38# libhurduser.so.0.0 corresponds to hurd/*.defs as of 7 May 1996.
8a523922 39.*-.*-gnu-gnu* libhurduser=0.0
f68b86cc 40
8a080f40 41# libc.so.0.2 is for the Hurd alpha release 0.2.
88268852 42%ifdef USE_IN_LIBIO /* experimental only! */
361742ed 43.*-.*-gnu-gnu* libc=0.2.90.libio GLIBC_2.2
88268852 44%else
8a523922 45.*-.*-gnu-gnu* libc=0.2
88268852 46%endif
ec2ac6d5 47
d41c6f61 48# The dynamic loader also requires different names.
8a523922 49i.86-.*-linux.* ld=ld-linux.so.2
1c25bcac 50sparc64-.*-linux.* ld=ld-linux.so.2
4e75fa85 51sparc.*-.*-linux.* ld=ld-linux.so.2
41df5ed4 52alpha.*-.*-linux.* ld=ld-linux.so.2
3f62b69a 53arm.*-.*-linux.* ld=ld-linux.so.2
d41c6f61 54# We use the ELF ABI standard name for the default.
8a523922 55.*-.*-.* ld=ld.so.1
d41c6f61 56
f68b86cc 57# The -ldl interface (see <dlfcn.h>) is the same on all platforms.
41df5ed4 58alpha.*-.*-linux.* libdl=2.1
8a523922 59.*-.*-.* libdl=2
26da047f
RM
60
61# So far the -lutil interface is the same on all platforms, except for the
62# `struct utmp' format, which depends on libc.
41df5ed4 63alpha.*-.*-linux.* libutil=1.1
8a523922 64.*-.*-.* libutil=1
5f0e6fc7 65
d41c6f61 66# Version number 2 is used on other systems for the BIND 4.9.5 resolver
5f0e6fc7 67# interface.
41df5ed4 68alpha.*-.*-linux.* libresolv=2.1
8a523922 69.*-.*-.* libresolv=2
5f0e6fc7
RM
70
71# Interface revision of nss_* modules. This must match NSS_SHLIB_REVISION
72# in nss/nsswitch.h, which determines the library names used for service
73# names given in /etc/nsswitch.conf.
d71b808a
UD
74.*-.*-.* libnss_files=2
75.*-.*-.* libnss_dns=2
76.*-.*-.* libnss_db=2
77.*-.*-.* libnss_compat=2
78.*-.*-.* libnss_nis=2
79.*-.*-.* libnss_nisplus=2
80.*-.*-.* libnss_ldap=2
81.*-.*-.* libnss_hesiod=2
6259ec0d 82
e61abf83 83# Version for libnsl with YP and NIS+ functions.
41df5ed4 84alpha.*-.*-linux.* libnsl=1.1
6259ec0d 85.*-.*-.* libnsl=1
bba7bb78 86
92f1da4d
UD
87# We use libdb.so.3 for the interface in version 2.x of the Berkeley DB code.
88.*-.*-.* libdb=3
24fd4cc4
UD
89# This is the Berkeley DB 1.85. We use the version numbers from glibc 2.0.*
90# for all times.
91alpha-.*-linux.* libdb1=2.1
92.*-.*-.* libdb1=2
cccda09f 93
ba1ffaa1 94# This defines the shared library version numbers we will install.
41df5ed4 95alpha.*-.*-linux.* libcrypt=1.1
8a523922 96.*-.*-.* libcrypt=1
6259ec0d 97
5b826692 98# The gross patch for programs assuming broken locale implementations.
41df5ed4 99alpha.*-.*-linux.* libBrokenLocale=1.1
6259ec0d 100.*-.*-.* libBrokenLocale=1
cbdee279
UD
101
102# The real-time library from POSIX.1b.
103.*-.*-.* librt=1