mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 18:23:41 +08:00
337738b771
file on [!RTLD_STAT64]. * sysdeps/mach/hurd/fxstat64.c: Likewise. * sysdeps/mach/hurd/tmpfile.c (tmpfile64): Define as alias of tmpfile. (__fdopen): Use INTUSE. * sysdeps/mach/hurd/tmpfile64.c: New file, empty placeholder. * stdio-common/tmpfile64.c: File removed. * sysdeps/generic/tmpfile64.c: New file. * sysdeps/generic/tmpfile.c (GEN_THIS): New macro, define to __GT_FILE if not already defined. (tmpfile): Use it in place of __GT_FILE. * include/unistd.h: Declare __chown_internal. * sysdeps/mach/hurd/sendfile64.c (sendfile64): Do real work here. * sysdeps/mach/hurd/sendfile.c (sendfile): Call that. 2002-06-09 Roland McGrath <roland@frob.com> Update to new Hurd RPC interfaces supporting 64-bit file sizes. * sysdeps/mach/hurd/configure.in: Check for <hurd/version.h> with value of HURD_INTERFACE_VERSION >= 20020609. * sysdeps/mach/hurd/configure: Regenerated. * shlib-versions (.*-.*-gnu-gnu.*): Set libhurduser=0.3. * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Rewritten to convert a struct stat64 into a struct stat and return 0 or -1 with errno set to EOVERFLOW. * sysdeps/mach/hurd/statfsconv.c (statfs64_conv): Likewise for struct statfs64 to struct statfs. * sysdeps/mach/hurd/xstat.c (__xstat): Use converter and call ... * sysdeps/mach/hurd/xstat64.c (__xstat64): ... this, real work here. * sysdeps/mach/hurd/fxstat.c (__fxstat): Likewise. * sysdeps/mach/hurd/fxstat64.c (__fxstat64): Likewise. * sysdeps/mach/hurd/lxstat.c (__lxstat): Likewise. * sysdeps/mach/hurd/lxstat64.c (__lxstat64): Likewise. * sysdeps/mach/hurd/statfs.c (__statfs): Likewise. * sysdeps/mach/hurd/statfs64.c (__statfs64): Likewise. * sysdeps/mach/hurd/fstatfs.c (__fstatfs): Likewise. * sysdeps/mach/hurd/fstatfs64.c (__fstatfs64): Likewise. * sysdeps/mach/hurd/pwrite64.c (__libc_pwrite64): Do real work here. * sysdeps/mach/hurd/pwrite.c (__libc_pwrite): Call that. * sysdeps/mach/hurd/pread64.c (__libc_pread64): Do real work here. * sysdeps/mach/hurd/pread.c (__libc_pread): Call that. * sysdeps/mach/hurd/lseek64.c (__libc_lseek64): Do real work here. * sysdeps/mach/hurd/lseek.c (__libc_lseek): Call that. * sysdeps/mach/hurd/readdir64.c (__readdir64): Do real work here. * sysdeps/mach/hurd/readdir.c (__readdir): Call that. * sysdeps/mach/hurd/readdir64_r.c (__readdir64_r): Do real work here. * sysdeps/mach/hurd/readdir_r.c (__readdir64_r): Call that. * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use struct stat64 for io_stat argument. * sysdeps/mach/hurd/readlink.c (__readlink): Likewise. * hurd/fopenport.c (seekio): Remove EOVERFLOW check, pass POS directly to io_seek. * hurd/fd-read.c (_hurd_fd_read): Use loff_t for OFFSET argument. * hurd/fd-write.c (_hurd_fd_write): Likewise. * hurd/hurd/fd.h: Update decls. * sysdeps/mach/hurd/getcwd.c (_hurd_canonicalize_directory_name_internal): Use ino64_t and struct dirent64. * sysdeps/mach/hurd/dl-sysdep.c (open_file): Use struct stat64. (__xstat): Renamed to __xstat64, use struct stat64 for argument. (__fxstat): Renamed to __fxstat64, use struct stat64 for argument. (__lseek): Renamed to __libc_lseek64, use off64_t for argument. 2002-06-08 Roland McGrath <roland@frob.com> * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Use size_t instead of unsigned long int for __allocation and __size members. 2002-05-19 Ulrich Drepper <drepper@redhat.com>
134 lines
5.0 KiB
Plaintext
134 lines
5.0 KiB
Plaintext
# This file defines the shared library version numbers we will install.
|
|
|
|
# The following lines list filename patterns matching canonical configurations,
|
|
# and the associated versions to use for various libraries. The entire
|
|
# list is processed, with earlier entries taking precedence over later
|
|
# entries. So loose patterns at the end of the list can give defaults.
|
|
|
|
# This file can use cpp-style conditionals starting with % instead of #
|
|
# to test the symbols defined in config.h by configure.
|
|
|
|
# In the optional third column, there can one or more symbol set names
|
|
# listed, which must be in ascending version order reading left to right
|
|
# and must appear in this same order in the Versions.def file. Each listed
|
|
# version subsumes all prior versions back to the previous listed version.
|
|
#
|
|
# An entry with DEFAULT in the second column gives a default third column
|
|
# to apply on matching configurations when the matching entry for a particular
|
|
# library has no third column. The defaults must precede the entries they
|
|
# apply to.
|
|
|
|
# Configuration DEFAULT Earliest symbol set
|
|
# ------------- --------------- ------------------------------
|
|
|
|
s390x-.*-linux.* DEFAULT GLIBC_2.2
|
|
cris-.*-linux.* DEFAULT GLIBC_2.2
|
|
x86_64-.*-linux.* DEFAULT GLIBC_2.2.5
|
|
.*-.*-gnu-gnu.* DEFAULT GLIBC_2.2.6
|
|
|
|
# Configuration Library=version Earliest symbol set (optional)
|
|
# ------------- --------------- ------------------------------
|
|
|
|
# The interface to -lm depends mostly only on cpu, not on operating system.
|
|
sparc64-.*-linux.* libm=6 GLIBC_2.2
|
|
alpha.*-.*-linux.* libm=6.1
|
|
mips.*-.*-linux.* libm=6 GLIBC_2.0 GLIBC_2.2
|
|
ia64-.*-linux.* libm=6.1 GLIBC_2.2
|
|
sh.*-.*-linux.* libm=6 GLIBC_2.2
|
|
hppa.*-.*-.* libm=6 GLIBC_2.2
|
|
.*-.*-linux.* libm=6
|
|
.*-.*-gnu-gnu.* libm=6
|
|
|
|
# We provide libc.so.6 for Linux kernel versions 2.0 and later.
|
|
alpha.*-.*-linux.* libc=6.1
|
|
# Working mips versions were never released between 2.0 and 2.2.
|
|
mips.*-.*-linux.* libc=6 GLIBC_2.0 GLIBC_2.2
|
|
ia64-.*-linux.* libc=6.1 GLIBC_2.2
|
|
sh.*-.*-linux.* libc=6 GLIBC_2.2
|
|
sparc64-.*-linux.* libc=6 GLIBC_2.2
|
|
hppa.*-.*-.* libc=6 GLIBC_2.2
|
|
.*-.*-linux.* libc=6
|
|
|
|
# libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
|
|
.*-.*-gnu-gnu.* libmachuser=1
|
|
|
|
# libhurduser.so.0.3 corresponds to hurd/*.defs as of 11 June 2002.
|
|
.*-.*-gnu-gnu.* libhurduser=0.3
|
|
|
|
# libc.so.0.3 is the first Hurd libc using libio.
|
|
.*-.*-gnu-gnu.* libc=0.3
|
|
|
|
# The dynamic loader also requires different names.
|
|
i.86-.*-linux.* ld=ld-linux.so.2
|
|
sparc64-.*-linux.* ld=ld-linux.so.2 GLIBC_2.2
|
|
sparc.*-.*-linux.* ld=ld-linux.so.2
|
|
alpha.*-.*-linux.* ld=ld-linux.so.2
|
|
arm.*-.*-linux.* ld=ld-linux.so.2
|
|
sh.*-.*-linux.* ld=ld-linux.so.2 GLIBC_2.2
|
|
ia64-.*-linux.* ld=ld-linux-ia64.so.2 GLIBC_2.2
|
|
mips.*-.*-linux.* ld=ld.so.1 GLIBC_2.0 GLIBC_2.2
|
|
hppa.*-.*-.* ld=ld.so.1 GLIBC_2.2
|
|
s390x-.*-linux.* ld=ld64.so.1 GLIBC_2.2
|
|
cris-.*-linux.* ld=ld.so.1 GLIBC_2.2
|
|
x86_64-.*-linux.* ld=ld-linux-x86-64.so.2 GLIBC_2.2.5
|
|
# We use the ELF ABI standard name for the default.
|
|
.*-.*-.* ld=ld.so.1
|
|
|
|
# The -ldl interface (see <dlfcn.h>) is the same on all platforms.
|
|
alpha.*-.*-linux.* libdl=2.1
|
|
mips.*-.*-linux.* libdl=2 GLIBC_2.0 GLIBC_2.2
|
|
.*-.*-.* libdl=2
|
|
|
|
# So far the -lutil interface is the same on all platforms, except for the
|
|
# `struct utmp' format, which depends on libc.
|
|
alpha.*-.*-linux.* libutil=1.1
|
|
.*-.*-.* libutil=1
|
|
|
|
# Version number 2 is used on other systems for the BIND 4.9.5 resolver
|
|
# interface.
|
|
alpha.*-.*-linux.* libresolv=2.1
|
|
mips.*-.*-linux.* libresolv=2 GLIBC_2.0 GLIBC_2.2
|
|
.*-.*-.* libresolv=2
|
|
|
|
# Interface revision of nss_* modules. This must match NSS_SHLIB_REVISION
|
|
# in nss/nsswitch.h, which determines the library names used for service
|
|
# names given in /etc/nsswitch.conf.
|
|
mips.*-.*-linux.* libnss_files=2 GLIBC_2.0 GLIBC_2.2
|
|
mips.*-.*-linux.* libnss_dns=2 GLIBC_2.0 GLIBC_2.2
|
|
mips.*-.*-linux.* libnss_compat=2 GLIBC_2.0 GLIBC_2.2
|
|
mips.*-.*-linux.* libnss_nis=2 GLIBC_2.0 GLIBC_2.2
|
|
mips.*-.*-linux.* libnss_nisplus=2 GLIBC_2.0 GLIBC_2.2
|
|
mips.*-.*-linux.* libnss_ldap=2 GLIBC_2.0 GLIBC_2.2
|
|
mips.*-.*-linux.* libnss_hesiod=2 GLIBC_2.0 GLIBC_2.2
|
|
.*-.*-.* libnss_files=2
|
|
.*-.*-.* libnss_dns=2
|
|
.*-.*-.* libnss_compat=2
|
|
.*-.*-.* libnss_nis=2
|
|
.*-.*-.* libnss_nisplus=2
|
|
.*-.*-.* libnss_ldap=2
|
|
.*-.*-.* libnss_hesiod=2
|
|
|
|
# Version for libnsl with YP and NIS+ functions.
|
|
alpha.*-.*-linux.* libnsl=1.1
|
|
mips.*-.*-linux.* libnsl=1 GLIBC_2.0 GLIBC_2.2
|
|
.*-.*-.* libnsl=1
|
|
|
|
# This defines the shared library version numbers we will install.
|
|
alpha.*-.*-linux.* libcrypt=1.1
|
|
.*-.*-.* libcrypt=1
|
|
|
|
# The gross patch for programs assuming broken locale implementations.
|
|
alpha.*-.*-linux.* libBrokenLocale=1.1
|
|
ia64-.*-.* libBrokenLocale=1 GLIBC_2.2
|
|
sh.*-.*-.* libBrokenLocale=1 GLIBC_2.2
|
|
sparc64-.*-.* libBrokenLocale=1 GLIBC_2.2
|
|
hppa-.*-.* libBrokenLocale=1 GLIBC_2.2
|
|
.*-.*-.* libBrokenLocale=1
|
|
|
|
# The real-time library from POSIX.1b.
|
|
mips.*-.*-linux.* librt=1 GLIBC_2.0 GLIBC_2.2
|
|
.*-.*-.* librt=1
|
|
|
|
# The asynchronous name lookup library.
|
|
.*-.*-.* libanl=1
|