1 # This file defines the shared library version numbers we will install.
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.
8 # This file can use cpp-style conditionals starting with % instead of #
9 # to test the symbols defined in config.h by configure.
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.
16 # Configuration Library=version Earliest symbol set (optional)
17 # ------------- --------------- ------------------------------
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
27 .*-.*-gnu-gnu.* libm=6
29 # We provide libc.so.6 for Linux kernel versions 2.0 and later.
30 alpha.*-.*-linux.* libc=6.1
31 # Working mips versions were never released between 2.0 and 2.2.
32 mips.*-.*-linux.* libc=6 GLIBC_2.0 GLIBC_2.2
33 ia64-.*-linux.* libc=6.1 GLIBC_2.2
34 sh.*-.*-linux.* libc=6 GLIBC_2.2
35 sparc64-.*-linux.* libc=6 GLIBC_2.2
36 hppa.*-.*-.* libc=6 GLIBC_2.2
39 # libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
40 .*-.*-gnu-gnu.* libmachuser=1
42 # libhurduser.so.0.0 corresponds to hurd/*.defs as of 7 May 1996.
43 .*-.*-gnu-gnu.* libhurduser=0.0
45 # libc.so.0.2 is for the Hurd alpha release 0.2.
46 %ifdef USE_IN_LIBIO /* experimental only! */
47 .*-.*-gnu-gnu.* libc=0.2.90.libio GLIBC_2.2
49 .*-.*-gnu-gnu.* libc=0.2
52 # The dynamic loader also requires different names.
53 i.86-.*-linux.* ld=ld-linux.so.2
54 sparc64-.*-linux.* ld=ld-linux.so.2 GLIBC_2.2
55 sparc.*-.*-linux.* ld=ld-linux.so.2
56 alpha.*-.*-linux.* ld=ld-linux.so.2
57 arm.*-.*-linux.* ld=ld-linux.so.2
58 sh.*-.*-linux.* ld=ld-linux.so.2 GLIBC_2.2
59 ia64-.*-linux.* ld=ld-linux-ia64.so.2 GLIBC_2.2
60 mips.*-.*-linux.* ld=ld.so.1 GLIBC_2.0 GLIBC_2.2
61 hppa.*-.*-.* ld=ld.so.1 GLIBC_2.2
62 # We use the ELF ABI standard name for the default.
65 # The -ldl interface (see <dlfcn.h>) is the same on all platforms.
66 alpha.*-.*-linux.* libdl=2.1
67 mips.*-.*-linux.* libdl=2 GLIBC_2.0 GLIBC_2.2
70 # So far the -lutil interface is the same on all platforms, except for the
71 # `struct utmp' format, which depends on libc.
72 alpha.*-.*-linux.* libutil=1.1
75 # Version number 2 is used on other systems for the BIND 4.9.5 resolver
77 alpha.*-.*-linux.* libresolv=2.1
78 mips.*-.*-linux.* libresolv=2 GLIBC_2.0 GLIBC_2.2
81 # Interface revision of nss_* modules. This must match NSS_SHLIB_REVISION
82 # in nss/nsswitch.h, which determines the library names used for service
83 # names given in /etc/nsswitch.conf.
84 mips.*-.*-linux.* libnss_files=2 GLIBC_2.0 GLIBC_2.2
85 mips.*-.*-linux.* libnss_dns=2 GLIBC_2.0 GLIBC_2.2
86 mips.*-.*-linux.* libnss_compat=2 GLIBC_2.0 GLIBC_2.2
87 mips.*-.*-linux.* libnss_nis=2 GLIBC_2.0 GLIBC_2.2
88 mips.*-.*-linux.* libnss_nisplus=2 GLIBC_2.0 GLIBC_2.2
89 mips.*-.*-linux.* libnss_ldap=2 GLIBC_2.0 GLIBC_2.2
90 mips.*-.*-linux.* libnss_hesiod=2 GLIBC_2.0 GLIBC_2.2
91 .*-.*-.* libnss_files=2
93 .*-.*-.* libnss_compat=2
95 .*-.*-.* libnss_nisplus=2
96 .*-.*-.* libnss_ldap=2
97 .*-.*-.* libnss_hesiod=2
99 # Version for libnsl with YP and NIS+ functions.
100 alpha.*-.*-linux.* libnsl=1.1
101 mips.*-.*-linux.* libnsl=1 GLIBC_2.0 GLIBC_2.2
104 # This defines the shared library version numbers we will install.
105 alpha.*-.*-linux.* libcrypt=1.1
108 # The gross patch for programs assuming broken locale implementations.
109 alpha.*-.*-linux.* libBrokenLocale=1.1
110 ia64-.*-.* libBrokenLocale=1 GLIBC_2.2
111 sh.*-.*-.* libBrokenLocale=1 GLIBC_2.2
112 sparc64-.*-.* libBrokenLocale=1 GLIBC_2.2
113 hppa-.*-.* libBrokenLocale=1 GLIBC_2.2
114 .*-.*-.* libBrokenLocale=1
116 # The real-time library from POSIX.1b.
117 mips.*-.*-linux.* librt=1 GLIBC_2.0 GLIBC_2.2