]> sourceware.org Git - glibc.git/commit
elf: Fix 64 time_t support for installed statically binaries
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 29 Dec 2021 13:20:46 +0000 (10:20 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 17 Jan 2022 13:57:09 +0000 (10:57 -0300)
commit9fe6f6363886aae6b2b210cae3ed1f5921299083
treed601541a207382c53aa7dfd6ccc256805ec34294
parentcedd498dbc090e39a9b3224f4c53ea98da049f40
elf: Fix 64 time_t support for installed statically binaries

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.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
elf/cache.c
elf/chroot_canon.c
elf/ldconfig.c
elf/readlib.c
elf/sln.c
sysdeps/generic/ldconfig.h
This page took 0.047006 seconds and 5 git commands to generate.