about summary refs log tree commit diff
path: root/sysdeps/unix/mips
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-10-19 19:14:04 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-10-25 15:53:19 -0300
commit7a6ca82f8007ddbd43e2b8fce806ba7101ee47f5 (patch)
treeab97df12d534b21940d0349c05b7d5cc4ded8551 /sysdeps/unix/mips
parenta35c960dbb1d7c7cf25905514f5f9d5e99cf6160 (diff)
downloadglibc-7a6ca82f8007ddbd43e2b8fce806ba7101ee47f5.tar.gz
glibc-7a6ca82f8007ddbd43e2b8fce806ba7101ee47f5.tar.xz
glibc-7a6ca82f8007ddbd43e2b8fce806ba7101ee47f5.zip
linux: Fix generic struct_stat for 64 bit time (BZ# 29657)
The generic Linux struct_stat misses the conditionals to use
bits/struct_stat_time64_helper.h in the __USE_TIME_BITS64 for
architecture that uses __TIMESIZE == 32 (currently csky and nios2).

Since newer ports should not support 32 bit time_t, the generic
implementation should be used as default.

For arm, hppa, and sh a copy of default struct_stat is added,
while for csky and nios a new one based on generic is used, along
with conditionals to use bits/struct_stat_time64_helper.h.

The default struct_stat is also replaced with the generic one.

Checked on aarch64-linux-gnu and arm-linux-gnueabihf.
Diffstat (limited to 'sysdeps/unix/mips')
0 files changed, 0 insertions, 0 deletions