]> sourceware.org Git - glibc.git/commit
Revert "linux: Move {f}xstat{at} to compat symbols" for static build
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 29 Dec 2020 13:21:29 +0000 (13:21 +0000)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 21 Jan 2021 17:11:53 +0000 (14:11 -0300)
commit46c1c765d14c77c6c36df1b51dae6674a4eef06b
tree435a65a76f8d01fbf8a76da7f2fda54c2ce03731
parent28f2ce27722d890a884cc7fa2f6d2bc0cb418f26
Revert "linux: Move {f}xstat{at} to compat symbols" for static build

This reverts commit 20b39d59467b0c1d858e89ded8b0cebe55e22f60 for static
library.  This avoids the need to rebuild the world for the case where
libstdc++ (and potentially other libraries) are linked to a old glibc.

To avoid requering to provide xstat symbols for newer ABIs (such as
riscv32) a new LIB_COMPAT macro is added.  It is similar to SHLIB_COMPAT
but also works for static case (thus evaluating similar to SHLIB_COMPAT
for both shared and static case).

Checked with a check-abi on all affected ABIs. I also check if the
static library does contains the xstat symbols.
17 files changed:
include/shlib-compat.h
sysdeps/mach/hurd/fxstat.c
sysdeps/mach/hurd/fxstat64.c
sysdeps/mach/hurd/fxstatat.c
sysdeps/mach/hurd/fxstatat64.c
sysdeps/mach/hurd/lxstat.c
sysdeps/mach/hurd/lxstat64.c
sysdeps/mach/hurd/xstat.c
sysdeps/mach/hurd/xstat64.c
sysdeps/unix/sysv/linux/fxstat.c
sysdeps/unix/sysv/linux/fxstat64.c
sysdeps/unix/sysv/linux/fxstatat.c
sysdeps/unix/sysv/linux/fxstatat64.c
sysdeps/unix/sysv/linux/lxstat.c
sysdeps/unix/sysv/linux/lxstat64.c
sysdeps/unix/sysv/linux/xstat.c
sysdeps/unix/sysv/linux/xstat64.c
This page took 0.041549 seconds and 5 git commands to generate.