]>
Commit | Line | Data |
---|---|---|
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 |
20 | i.86-.*-.* libm=6 |
21 | m68k-.*-.* libm=6 | |
1a6d7967 | 22 | sparc64-.*-linux.* libm=6 GLIBC_2.2 |
4e75fa85 | 23 | sparc.*-.*-.* libm=6 |
41df5ed4 RH |
24 | alpha.*-.*-linux.* libm=6.1 |
25 | alpha.*-.*-.* libm=6 | |
714a562f | 26 | powerpc-.*-.* libm=6 |
d0a5dae4 | 27 | mips.*-.*-linux.* libm=6 GLIBC_2.0 GLIBC_2.2 |
a46b6648 | 28 | mips.*-.*-.* libm=6 |
3f62b69a | 29 | arm.*-.*-.* libm=6 |
33256e8a | 30 | ia64-.*-.* libm=6.1 GLIBC_2.2 |
6e62dceb | 31 | sh.*-.*-.* libm=6 GLIBC_2.2 |
56c1ca9e | 32 | s390.*-.*-linux.* libm=6 |
0e3426bb | 33 | |
ec2ac6d5 | 34 | # We provide libc.so.6 for Linux kernel versions 2.0 and later. |
41df5ed4 | 35 | alpha.*-.*-linux.* libc=6.1 |
733af7d6 RM |
36 | # Working mips versions were never released between 2.0 and 2.2. |
37 | mips.*-.*-linux.* libc=6 GLIBC_2.0 GLIBC_2.2 | |
33256e8a | 38 | ia64-.*-.* libc=6.1 GLIBC_2.2 |
6e62dceb | 39 | sh.*-.*-.* libc=6 GLIBC_2.2 |
1a6d7967 | 40 | sparc64-.*-linux.* libc=6 GLIBC_2.2 |
714a562f | 41 | .*-.*-linux.* libc=6 |
0e3426bb RM |
42 | |
43 | # libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release. | |
8a523922 | 44 | .*-.*-gnu-gnu.* libmachuser=1 |
0e3426bb RM |
45 | |
46 | # libhurduser.so.0.0 corresponds to hurd/*.defs as of 7 May 1996. | |
8a523922 | 47 | .*-.*-gnu-gnu* libhurduser=0.0 |
f68b86cc | 48 | |
8a080f40 | 49 | # libc.so.0.2 is for the Hurd alpha release 0.2. |
88268852 | 50 | %ifdef USE_IN_LIBIO /* experimental only! */ |
361742ed | 51 | .*-.*-gnu-gnu* libc=0.2.90.libio GLIBC_2.2 |
88268852 | 52 | %else |
8a523922 | 53 | .*-.*-gnu-gnu* libc=0.2 |
88268852 | 54 | %endif |
ec2ac6d5 | 55 | |
d41c6f61 | 56 | # The dynamic loader also requires different names. |
8a523922 | 57 | i.86-.*-linux.* ld=ld-linux.so.2 |
1a6d7967 | 58 | sparc64-.*-linux.* ld=ld-linux.so.2 GLIBC_2.2 |
4e75fa85 | 59 | sparc.*-.*-linux.* ld=ld-linux.so.2 |
41df5ed4 | 60 | alpha.*-.*-linux.* ld=ld-linux.so.2 |
3f62b69a | 61 | arm.*-.*-linux.* ld=ld-linux.so.2 |
6e62dceb | 62 | sh.*-.*-linux.* ld=ld-linux.so.2 GLIBC_2.2 |
aa1b0984 | 63 | ia64-.*-linux.* ld=ld-linux-ia64.so.2 GLIBC_2.2 |
d0a5dae4 | 64 | mips.*-.*-linux.* ld=ld.so.1 GLIBC_2.0 GLIBC_2.2 |
d41c6f61 | 65 | # We use the ELF ABI standard name for the default. |
8a523922 | 66 | .*-.*-.* ld=ld.so.1 |
d41c6f61 | 67 | |
f68b86cc | 68 | # The -ldl interface (see <dlfcn.h>) is the same on all platforms. |
41df5ed4 | 69 | alpha.*-.*-linux.* libdl=2.1 |
d0a5dae4 | 70 | mips.*-.*-linux.* libdl=2 GLIBC_2.0 GLIBC_2.2 |
8a523922 | 71 | .*-.*-.* libdl=2 |
26da047f RM |
72 | |
73 | # So far the -lutil interface is the same on all platforms, except for the | |
74 | # `struct utmp' format, which depends on libc. | |
41df5ed4 | 75 | alpha.*-.*-linux.* libutil=1.1 |
8a523922 | 76 | .*-.*-.* libutil=1 |
5f0e6fc7 | 77 | |
d41c6f61 | 78 | # Version number 2 is used on other systems for the BIND 4.9.5 resolver |
5f0e6fc7 | 79 | # interface. |
41df5ed4 | 80 | alpha.*-.*-linux.* libresolv=2.1 |
69a79602 | 81 | mips.*-.*-linux.* libresolv=2 GLIBC_2.0 GLIBC_2.2 |
8a523922 | 82 | .*-.*-.* libresolv=2 |
5f0e6fc7 RM |
83 | |
84 | # Interface revision of nss_* modules. This must match NSS_SHLIB_REVISION | |
85 | # in nss/nsswitch.h, which determines the library names used for service | |
86 | # names given in /etc/nsswitch.conf. | |
69a79602 AJ |
87 | mips.*-.*-linux.* libnss_files=2 GLIBC_2.0 GLIBC_2.2 |
88 | mips.*-.*-linux.* libnss_dns=2 GLIBC_2.0 GLIBC_2.2 | |
69a79602 AJ |
89 | mips.*-.*-linux.* libnss_compat=2 GLIBC_2.0 GLIBC_2.2 |
90 | mips.*-.*-linux.* libnss_nis=2 GLIBC_2.0 GLIBC_2.2 | |
91 | mips.*-.*-linux.* libnss_nisplus=2 GLIBC_2.0 GLIBC_2.2 | |
92 | mips.*-.*-linux.* libnss_ldap=2 GLIBC_2.0 GLIBC_2.2 | |
93 | mips.*-.*-linux.* libnss_hesiod=2 GLIBC_2.0 GLIBC_2.2 | |
d71b808a UD |
94 | .*-.*-.* libnss_files=2 |
95 | .*-.*-.* libnss_dns=2 | |
d71b808a UD |
96 | .*-.*-.* libnss_compat=2 |
97 | .*-.*-.* libnss_nis=2 | |
98 | .*-.*-.* libnss_nisplus=2 | |
99 | .*-.*-.* libnss_ldap=2 | |
100 | .*-.*-.* libnss_hesiod=2 | |
6259ec0d | 101 | |
e61abf83 | 102 | # Version for libnsl with YP and NIS+ functions. |
41df5ed4 | 103 | alpha.*-.*-linux.* libnsl=1.1 |
69a79602 | 104 | mips.*-.*-linux.* libnsl=1 GLIBC_2.0 GLIBC_2.2 |
6259ec0d | 105 | .*-.*-.* libnsl=1 |
bba7bb78 | 106 | |
ba1ffaa1 | 107 | # This defines the shared library version numbers we will install. |
41df5ed4 | 108 | alpha.*-.*-linux.* libcrypt=1.1 |
8a523922 | 109 | .*-.*-.* libcrypt=1 |
6259ec0d | 110 | |
5b826692 | 111 | # The gross patch for programs assuming broken locale implementations. |
41df5ed4 | 112 | alpha.*-.*-linux.* libBrokenLocale=1.1 |
6259ec0d | 113 | .*-.*-.* libBrokenLocale=1 |
cbdee279 UD |
114 | |
115 | # The real-time library from POSIX.1b. | |
69a79602 | 116 | mips.*-.*-linux.* librt=1 GLIBC_2.0 GLIBC_2.2 |
cbdee279 | 117 | .*-.*-.* librt=1 |