Implement stat64() via NaCl RPC
[glibc/nacl-glibc.git] / shlib-versions
blob65e772bbb5ffd631e4f7a83e3581e8c09dd30122
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
19 # apply to.
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         WORDSIZE[32|64]         Alternate configuration
36 # -------------         ----------              -----------------------
37 x86_64-.*-.*            WORDSIZE32              i686-@VENDOR@-@OS@
38 i.86-.*-.*              WORDSIZE64              x86_64-@VENDOR@-@OS@
39 s390x-.*-.*             WORDSIZE32              s390-@VENDOR@-@OS@
40 s390-.*-.*              WORDSIZE64              s390x-@VENDOR@-@OS@
41 powerpc64-.*-.*         WORDSIZE32              powerpc-@VENDOR@-@OS@
42 powerpc.*-.*-.*         WORDSIZE64              powerpc64-@VENDOR@-@OS@
43 sparc64.*-.*-.*         WORDSIZE32              sparc-@VENDOR@-@OS@
44 sparc.*-.*-.*           WORDSIZE64              sparc64-@VENDOR@-@OS@
46 # Configuration         ABI                     Identifier for ABI data files
47 # -------------         ----------              -----------------------------
48 sparc64.*-.*-.*         ABI                     sparc64-@OS@
49 sparc.*-.*-.*           ABI                     sparc-@OS@
51 # Configuration         Library=version         Earliest symbol set (optional)
52 # -------------         ---------------         ------------------------------
54 # The interface to -lm depends mostly only on cpu, not on operating system.
55 sparc64.*-.*-linux.*    libm=6                  GLIBC_2.2
56 alpha.*-.*-linux.*      libm=6.1
57 ia64-.*-linux.*         libm=6.1                GLIBC_2.2
58 sh.*-.*-linux.*         libm=6                  GLIBC_2.2
59 .*-.*-linux.*           libm=6
60 .*-.*-gnu-gnu.*         libm=6
62 # We provide libc.so.6 for Linux kernel versions 2.0 and later.
63 alpha.*-.*-linux.*      libc=6.1
64 ia64-.*-linux.*         libc=6.1                GLIBC_2.2
65 sh.*-.*-linux.*         libc=6                  GLIBC_2.2
66 sparc64.*-.*-linux.*    libc=6                  GLIBC_2.2
67 .*-.*-linux.*           libc=6
69 # libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
70 .*-.*-gnu-gnu.*         libmachuser=1
72 # libhurduser.so.0.3 corresponds to hurd/*.defs as of 11 June 2002.
73 .*-.*-gnu-gnu.*         libhurduser=0.3
75 # libc.so.0.3 is the first Hurd libc using libio.
76 .*-.*-gnu-gnu.*         libc=0.3
78 # The dynamic loader also requires different names.
79 i.86-.*-linux.*         ld=ld-linux.so.2
80 sparc64.*-.*-linux.*    ld=ld-linux.so.2        GLIBC_2.2
81 sparc.*-.*-linux.*      ld=ld-linux.so.2
82 alpha.*-.*-linux.*      ld=ld-linux.so.2
83 sh.*-.*-linux.*         ld=ld-linux.so.2        GLIBC_2.2
84 ia64-.*-linux.*         ld=ld-linux-ia64.so.2   GLIBC_2.2
85 s390x-.*-linux.*        ld=ld64.so.1            GLIBC_2.2
86 powerpc64.*-.*-linux.*  ld=ld64.so.1            GLIBC_2.3
87 cris-.*-linux.*         ld=ld.so.1              GLIBC_2.2
88 x86_64-.*-linux.*       ld=ld-linux-x86-64.so.2 GLIBC_2.2.5
89 # We use the ELF ABI standard name for the default.
90 .*-.*-.*                ld=ld.so.1
92 # The -ldl interface (see <dlfcn.h>) is the same on all platforms.
93 alpha.*-.*-linux.*      libdl=2.1
94 .*-.*-.*                libdl=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
99 .*-.*-.*                libutil=1
101 # Version number 2 is used on other systems for the BIND 4.9.5 resolver
102 # interface.
103 alpha.*-.*-linux.*      libresolv=2.1
104 .*-.*-.*                libresolv=2
106 # Interface revision of nss_* modules.  This must match NSS_SHLIB_REVISION
107 # in nss/nsswitch.h, which determines the library names used for service
108 # names given in /etc/nsswitch.conf.
109 .*-.*-.*                libnss_files=2
110 .*-.*-.*                libnss_dns=2
111 .*-.*-.*                libnss_compat=2
112 .*-.*-.*                libnss_nis=2
113 .*-.*-.*                libnss_nisplus=2
114 .*-.*-.*                libnss_ldap=2
115 .*-.*-.*                libnss_hesiod=2
117 # Version for libnsl with YP and NIS+ functions.
118 alpha.*-.*-linux.*      libnsl=1.1
119 .*-.*-.*                libnsl=1
121 # This defines the shared library version numbers we will install.
122 alpha.*-.*-linux.*      libcrypt=1.1
123 .*-.*-.*                libcrypt=1
125 # The gross patch for programs assuming broken locale implementations.
126 alpha.*-.*-linux.*      libBrokenLocale=1.1
127 ia64-.*-.*              libBrokenLocale=1       GLIBC_2.2
128 sh.*-.*-.*              libBrokenLocale=1       GLIBC_2.2
129 sparc64.*-.*-.*         libBrokenLocale=1       GLIBC_2.2
130 .*-.*-.*                libBrokenLocale=1
132 # The real-time library from POSIX.1b.
133 .*-.*-.*                librt=1
135 # The asynchronous name lookup library.
136 .*-.*-.*                libanl=1