elf: Fix 64 time_t support for installed statically binaries

System Internals / glibc - Adhemerval Zanella [linaro.org] - 12 January 2022 13:30 UTC

The usage of internal static symbol for statically linked binaries does not work correctly for objects built with -D_TIME_BITS=64, since the internal definition does not provide the expected aliases.

This patch makes it to use the default stat functions instead (which uses the default 64 time_t alias and types).

Checked on i686-linux-gnu.

0b8e83eb14 elf: Fix 64 time_t support for installed statically binaries
elf/cache.c | 16 ++++++++--------
elf/chroot_canon.c | 4 ++--
elf/ldconfig.c | 42 +++++++++++++++++++++---------------------
elf/readlib.c | 6 +++---
elf/sln.c | 4 ++--
sysdeps/generic/ldconfig.h | 6 +++---
6 files changed, 39 insertions(+), 39 deletions(-)

Upstream: sourceware.org


  • Share