]> sourceware.org Git - glibc.git/blame - shlib-versions
2005-05-17 Neal H. Walfield <neal@gnu.org>
[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.
dda7bd84
UD
15#
16# An entry with DEFAULT in the second column gives a default third column
17# to apply on matching configurations when the matching entry for a particular
18# library has no third column. The defaults must precede the entries they
19# apply to.
91adb529
RM
20#
21# An entry with WORDSIZE* in the second column gives an alternate
22# configuration tuple whose macros will be conditionally defined in
23# gnu/lib-names.h; @CPU@, @VENDOR@, @OS@ can be used in the third
24# column to compose the alternate tuple matched against the patterns here.
dda7bd84
UD
25
26# Configuration DEFAULT Earliest symbol set
27# ------------- --------------- ------------------------------
28
29s390x-.*-linux.* DEFAULT GLIBC_2.2
30cris-.*-linux.* DEFAULT GLIBC_2.2
85458ce9 31x86_64-.*-linux.* DEFAULT GLIBC_2.2.5
92b27c74 32powerpc64-.*-linux.* DEFAULT GLIBC_2.3
b2b1c593 33.*-.*-gnu-gnu.* DEFAULT GLIBC_2.2.6
733af7d6 34
f17c2202 35# Configuration WORDSIZE[32|64] Alternate configuration
91adb529
RM
36# ------------- ---------- -----------------------
37x86_64-.*-.* WORDSIZE32 i686-@VENDOR@-@OS@
3e1e123d 38i.86-.*-.* WORDSIZE64 x86_64-@VENDOR@-@OS@
91adb529 39s390x-.*-.* WORDSIZE32 s390-@VENDOR@-@OS@
f17c2202 40s390-.*-.* WORDSIZE64 s390x-@VENDOR@-@OS@
91adb529 41powerpc64-.*-.* WORDSIZE32 powerpc-@VENDOR@-@OS@
f17c2202 42powerpc.*-.*-.* WORDSIZE64 powerpc64-@VENDOR@-@OS@
91adb529 43sparc64-.*-.* WORDSIZE32 sparc-@VENDOR@-@OS@
f17c2202 44sparc.*-.*-.* WORDSIZE64 sparc64-@VENDOR@-@OS@
91adb529 45
361742ed
RM
46# Configuration Library=version Earliest symbol set (optional)
47# ------------- --------------- ------------------------------
0e3426bb 48
714a562f 49# The interface to -lm depends mostly only on cpu, not on operating system.
a334319f 50sparc64-.*-linux.* libm=6 GLIBC_2.2
41df5ed4 51alpha.*-.*-linux.* libm=6.1
a334319f 52mips.*-.*-linux.* libm=6 GLIBC_2.0 GLIBC_2.2
2119c705
UD
53ia64-.*-linux.* libm=6.1 GLIBC_2.2
54sh.*-.*-linux.* libm=6 GLIBC_2.2
a334319f 55hppa.*-.*-.* libm=6 GLIBC_2.2
2119c705
UD
56.*-.*-linux.* libm=6
57.*-.*-gnu-gnu.* libm=6
0e3426bb 58
ec2ac6d5 59# We provide libc.so.6 for Linux kernel versions 2.0 and later.
41df5ed4 60alpha.*-.*-linux.* libc=6.1
a334319f
UD
61# Working mips versions were never released between 2.0 and 2.2.
62mips.*-.*-linux.* libc=6 GLIBC_2.0 GLIBC_2.2
2119c705
UD
63ia64-.*-linux.* libc=6.1 GLIBC_2.2
64sh.*-.*-linux.* libc=6 GLIBC_2.2
a334319f
UD
65sparc64-.*-linux.* libc=6 GLIBC_2.2
66hppa.*-.*-.* libc=6 GLIBC_2.2
714a562f 67.*-.*-linux.* libc=6
0e3426bb
RM
68
69# libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
8a523922 70.*-.*-gnu-gnu.* libmachuser=1
0e3426bb 71
337738b7
RM
72# libhurduser.so.0.3 corresponds to hurd/*.defs as of 11 June 2002.
73.*-.*-gnu-gnu.* libhurduser=0.3
f68b86cc 74
e418753c
RM
75# libc.so.0.3 is the first Hurd libc using libio.
76.*-.*-gnu-gnu.* libc=0.3
ec2ac6d5 77
d41c6f61 78# The dynamic loader also requires different names.
8a523922 79i.86-.*-linux.* ld=ld-linux.so.2
a334319f 80sparc64-.*-linux.* ld=ld-linux.so.2 GLIBC_2.2
4e75fa85 81sparc.*-.*-linux.* ld=ld-linux.so.2
41df5ed4 82alpha.*-.*-linux.* ld=ld-linux.so.2
a334319f 83arm.*-.*-linux.* ld=ld-linux.so.2
6e62dceb 84sh.*-.*-linux.* ld=ld-linux.so.2 GLIBC_2.2
aa1b0984 85ia64-.*-linux.* ld=ld-linux-ia64.so.2 GLIBC_2.2
a334319f
UD
86mips.*-.*-linux.* ld=ld.so.1 GLIBC_2.0 GLIBC_2.2
87hppa.*-.*-.* ld=ld.so.1 GLIBC_2.2
136d4332 88s390x-.*-linux.* ld=ld64.so.1 GLIBC_2.2
92b27c74 89powerpc64.*-.*-linux.* ld=ld64.so.1 GLIBC_2.3
eacde9d0 90cris-.*-linux.* ld=ld.so.1 GLIBC_2.2
85458ce9 91x86_64-.*-linux.* ld=ld-linux-x86-64.so.2 GLIBC_2.2.5
d41c6f61 92# We use the ELF ABI standard name for the default.
8a523922 93.*-.*-.* ld=ld.so.1
d41c6f61 94
f68b86cc 95# The -ldl interface (see <dlfcn.h>) is the same on all platforms.
41df5ed4 96alpha.*-.*-linux.* libdl=2.1
a334319f 97mips.*-.*-linux.* libdl=2 GLIBC_2.0 GLIBC_2.2
8a523922 98.*-.*-.* libdl=2
26da047f
RM
99
100# So far the -lutil interface is the same on all platforms, except for the
101# `struct utmp' format, which depends on libc.
41df5ed4 102alpha.*-.*-linux.* libutil=1.1
8a523922 103.*-.*-.* libutil=1
5f0e6fc7 104
d41c6f61 105# Version number 2 is used on other systems for the BIND 4.9.5 resolver
5f0e6fc7 106# interface.
41df5ed4 107alpha.*-.*-linux.* libresolv=2.1
a334319f 108mips.*-.*-linux.* libresolv=2 GLIBC_2.0 GLIBC_2.2
8a523922 109.*-.*-.* libresolv=2
5f0e6fc7
RM
110
111# Interface revision of nss_* modules. This must match NSS_SHLIB_REVISION
112# in nss/nsswitch.h, which determines the library names used for service
113# names given in /etc/nsswitch.conf.
a334319f
UD
114mips.*-.*-linux.* libnss_files=2 GLIBC_2.0 GLIBC_2.2
115mips.*-.*-linux.* libnss_dns=2 GLIBC_2.0 GLIBC_2.2
116mips.*-.*-linux.* libnss_compat=2 GLIBC_2.0 GLIBC_2.2
117mips.*-.*-linux.* libnss_nis=2 GLIBC_2.0 GLIBC_2.2
118mips.*-.*-linux.* libnss_nisplus=2 GLIBC_2.0 GLIBC_2.2
119mips.*-.*-linux.* libnss_ldap=2 GLIBC_2.0 GLIBC_2.2
120mips.*-.*-linux.* libnss_hesiod=2 GLIBC_2.0 GLIBC_2.2
d71b808a
UD
121.*-.*-.* libnss_files=2
122.*-.*-.* libnss_dns=2
d71b808a
UD
123.*-.*-.* libnss_compat=2
124.*-.*-.* libnss_nis=2
125.*-.*-.* libnss_nisplus=2
126.*-.*-.* libnss_ldap=2
127.*-.*-.* libnss_hesiod=2
6259ec0d 128
e61abf83 129# Version for libnsl with YP and NIS+ functions.
41df5ed4 130alpha.*-.*-linux.* libnsl=1.1
a334319f 131mips.*-.*-linux.* libnsl=1 GLIBC_2.0 GLIBC_2.2
6259ec0d 132.*-.*-.* libnsl=1
bba7bb78 133
ba1ffaa1 134# This defines the shared library version numbers we will install.
41df5ed4 135alpha.*-.*-linux.* libcrypt=1.1
8a523922 136.*-.*-.* libcrypt=1
6259ec0d 137
5b826692 138# The gross patch for programs assuming broken locale implementations.
41df5ed4 139alpha.*-.*-linux.* libBrokenLocale=1.1
56f77c8b
AJ
140ia64-.*-.* libBrokenLocale=1 GLIBC_2.2
141sh.*-.*-.* libBrokenLocale=1 GLIBC_2.2
a334319f
UD
142sparc64-.*-.* libBrokenLocale=1 GLIBC_2.2
143hppa-.*-.* libBrokenLocale=1 GLIBC_2.2
6259ec0d 144.*-.*-.* libBrokenLocale=1
cbdee279
UD
145
146# The real-time library from POSIX.1b.
a334319f 147mips.*-.*-linux.* librt=1 GLIBC_2.0 GLIBC_2.2
cbdee279 148.*-.*-.* librt=1
2ace5721
UD
149
150# The asynchronous name lookup library.
151.*-.*-.* libanl=1
This page took 0.277922 seconds and 5 git commands to generate.