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 # 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
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.
26 # Configuration DEFAULT Earliest symbol set
27 # ------------- --------------- ------------------------------
29 s390x-.*-linux.* DEFAULT GLIBC_2.2
30 cris-.*-linux.* DEFAULT GLIBC_2.2
31 x86_64-.*-linux.* DEFAULT GLIBC_2.2.5
32 powerpc64-.*-linux.* DEFAULT GLIBC_2.3
33 .*-.*-gnu-gnu.* DEFAULT GLIBC_2.2.6
35 # Configuration WORDSIZE32 Alternate configuration
36 # ------------- ---------- -----------------------
37 x86_64-.*-.* WORDSIZE32 i686-@VENDOR@-@OS@
38 s390x-.*-.* WORDSIZE32 s390-@VENDOR@-@OS@
39 powerpc64-.*-.* WORDSIZE32 powerpc-@VENDOR@-@OS@
40 sparc64-.*-.* WORDSIZE32 sparc-@VENDOR@-@OS@
42 # Configuration Library=version Earliest symbol set (optional)
43 # ------------- --------------- ------------------------------
45 # The interface to -lm depends mostly only on cpu, not on operating system.
46 sparc64-.*-linux.* libm=6 GLIBC_2.2
47 alpha.*-.*-linux.* libm=6.1
48 mips.*-.*-linux.* libm=6 GLIBC_2.0 GLIBC_2.2
49 ia64-.*-linux.* libm=6.1 GLIBC_2.2
50 sh.*-.*-linux.* libm=6 GLIBC_2.2
51 hppa.*-.*-.* libm=6 GLIBC_2.2
53 .*-.*-gnu-gnu.* libm=6
55 # We provide libc.so.6 for Linux kernel versions 2.0 and later.
56 alpha.*-.*-linux.* libc=6.1
57 # Working mips versions were never released between 2.0 and 2.2.
58 mips.*-.*-linux.* libc=6 GLIBC_2.0 GLIBC_2.2
59 ia64-.*-linux.* libc=6.1 GLIBC_2.2
60 sh.*-.*-linux.* libc=6 GLIBC_2.2
61 sparc64-.*-linux.* libc=6 GLIBC_2.2
62 hppa.*-.*-.* libc=6 GLIBC_2.2
65 # libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
66 .*-.*-gnu-gnu.* libmachuser=1
68 # libhurduser.so.0.3 corresponds to hurd/*.defs as of 11 June 2002.
69 .*-.*-gnu-gnu.* libhurduser=0.3
71 # libc.so.0.3 is the first Hurd libc using libio.
72 .*-.*-gnu-gnu.* libc=0.3
74 # The dynamic loader also requires different names.
75 i.86-.*-linux.* ld=ld-linux.so.2
76 sparc64-.*-linux.* ld=ld-linux.so.2 GLIBC_2.2
77 sparc.*-.*-linux.* ld=ld-linux.so.2
78 alpha.*-.*-linux.* ld=ld-linux.so.2
79 arm.*-.*-linux.* ld=ld-linux.so.2
80 sh.*-.*-linux.* ld=ld-linux.so.2 GLIBC_2.2
81 ia64-.*-linux.* ld=ld-linux-ia64.so.2 GLIBC_2.2
82 mips.*-.*-linux.* ld=ld.so.1 GLIBC_2.0 GLIBC_2.2
83 hppa.*-.*-.* ld=ld.so.1 GLIBC_2.2
84 s390x-.*-linux.* ld=ld64.so.1 GLIBC_2.2
85 powerpc64.*-.*-linux.* ld=ld64.so.1 GLIBC_2.3
86 cris-.*-linux.* ld=ld.so.1 GLIBC_2.2
87 x86_64-.*-linux.* ld=ld-linux-x86-64.so.2 GLIBC_2.2.5
88 # We use the ELF ABI standard name for the default.
91 # The -ldl interface (see <dlfcn.h>) is the same on all platforms.
92 alpha.*-.*-linux.* libdl=2.1
93 mips.*-.*-linux.* libdl=2 GLIBC_2.0 GLIBC_2.2
96 # So far the -lutil interface is the same on all platforms, except for the
97 # `struct utmp' format, which depends on libc.
98 alpha.*-.*-linux.* libutil=1.1
101 # Version number 2 is used on other systems for the BIND 4.9.5 resolver
103 alpha.*-.*-linux.* libresolv=2.1
104 mips.*-.*-linux.* libresolv=2 GLIBC_2.0 GLIBC_2.2
107 # Interface revision of nss_* modules. This must match NSS_SHLIB_REVISION
108 # in nss/nsswitch.h, which determines the library names used for service
109 # names given in /etc/nsswitch.conf.
110 mips.*-.*-linux.* libnss_files=2 GLIBC_2.0 GLIBC_2.2
111 mips.*-.*-linux.* libnss_dns=2 GLIBC_2.0 GLIBC_2.2
112 mips.*-.*-linux.* libnss_compat=2 GLIBC_2.0 GLIBC_2.2
113 mips.*-.*-linux.* libnss_nis=2 GLIBC_2.0 GLIBC_2.2
114 mips.*-.*-linux.* libnss_nisplus=2 GLIBC_2.0 GLIBC_2.2
115 mips.*-.*-linux.* libnss_ldap=2 GLIBC_2.0 GLIBC_2.2
116 mips.*-.*-linux.* libnss_hesiod=2 GLIBC_2.0 GLIBC_2.2
117 .*-.*-.* libnss_files=2
118 .*-.*-.* libnss_dns=2
119 .*-.*-.* libnss_compat=2
120 .*-.*-.* libnss_nis=2
121 .*-.*-.* libnss_nisplus=2
122 .*-.*-.* libnss_ldap=2
123 .*-.*-.* libnss_hesiod=2
125 # Version for libnsl with YP and NIS+ functions.
126 alpha.*-.*-linux.* libnsl=1.1
127 mips.*-.*-linux.* libnsl=1 GLIBC_2.0 GLIBC_2.2
130 # This defines the shared library version numbers we will install.
131 alpha.*-.*-linux.* libcrypt=1.1
134 # The gross patch for programs assuming broken locale implementations.
135 alpha.*-.*-linux.* libBrokenLocale=1.1
136 ia64-.*-.* libBrokenLocale=1 GLIBC_2.2
137 sh.*-.*-.* libBrokenLocale=1 GLIBC_2.2
138 sparc64-.*-.* libBrokenLocale=1 GLIBC_2.2
139 hppa-.*-.* libBrokenLocale=1 GLIBC_2.2
140 .*-.*-.* libBrokenLocale=1
142 # The real-time library from POSIX.1b.
143 mips.*-.*-linux.* librt=1 GLIBC_2.0 GLIBC_2.2
146 # The asynchronous name lookup library.