glibc/sysdeps/nptl
Adhemerval Zanella dd535f4f19 Always define __USE_TIME_BITS64 when 64 bit time_t is used
It was raised on libc-help [1] that some Linux kernel interfaces expect
the libc to define __USE_TIME_BITS64 to indicate the time_t size for the
kABI.  Different than defined by the initial y2038 design document [2],
the __USE_TIME_BITS64 is only defined for ABIs that support more than
one time_t size (by defining the _TIME_BITS for each module).

The 64 bit time_t redirects are now enabled using a different internal
define (__USE_TIME64_REDIRECTS). There is no expected change in semantic
or code generation.

Checked on x86_64-linux-gnu, i686-linux-gnu, aarch64-linux-gnu, and
arm-linux-gnueabi

[1] https://sourceware.org/pipermail/libc-help/2024-January/006557.html
[2] https://sourceware.org/glibc/wiki/Y2038ProofnessDesign

Reviewed-by: DJ Delorie <dj@redhat.com>
(cherry picked from commit a4ed0471d7)
2024-05-28 07:30:07 +02:00
..
bits Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sys Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
_Fork.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
aio_misc.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
dl-mutex.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
dl-thread_gscope_wait.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
dl-tls_init_tp.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
dl-tunables.list Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fork.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
futex-internal.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
gai_misc.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Implies Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00
internaltypes.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
jmp-unwind.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
libc_start_call_main.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
libc-lock.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
libc-lockP.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
lowlevellock-futex.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
lowlevellock.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Makeconfig Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Makefile Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
malloc-machine.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
proc_service.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_atfork_compat.h Consolidate pthread_atfork 2021-06-24 10:04:41 -03:00
pthread_early_init.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutex_backoff.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutex_conf.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread-offsets.h nptl: update default pthread-offsets.h 2020-02-10 17:01:21 +01:00
pthread.h Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-05-28 07:30:07 +02:00
pthreadP.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
setxid.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
stdio-lock.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Subdirs Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00
tcb-access.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tcb-offsets.h Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00
thread_db.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
thread_pointer.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
timer_routines.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-mqueue8x.c Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00