about summary refs log tree commit diff
path: root/sysdeps/arm/aeabi_math.c
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@wdc.com>2019-06-25 16:32:38 -0700
committerAlistair Francis <alistair.francis@wdc.com>2020-08-27 08:17:42 -0700
commit7ed05adc829c1b3690080c693888287255b7322b (patch)
treeadfd2cf53e68c887a1b85e6908fa9a5ed530e579 /sysdeps/arm/aeabi_math.c
parent4875afe5526efe86478abe33e8b1320969d766d5 (diff)
downloadglibc-7ed05adc829c1b3690080c693888287255b7322b.tar.gz
glibc-7ed05adc829c1b3690080c693888287255b7322b.tar.xz
glibc-7ed05adc829c1b3690080c693888287255b7322b.zip
RISC-V: Use 64-bit-time syscall numbers with the 32-bit port
sysdep.h redefines only the syscall where the generic implementation
still does not have actual 64-bit time_t support:

   /* Workarounds for generic code needing to handle 64-bit time_t.  */

   /* Fix sysdeps/unix/sysv/linux/clock_getcpuclockid.c.  */
   #define __NR_clock_getres    __NR_clock_getres_time64
   /* Fix sysdeps/nptl/lowlevellock-futex.h.  */
   #define __NR_futex           __NR_futex_time64
   [...]

This patch also adds a comment that it is a workaround to handle 64-bit
time_t and on each #define comment for which implementation it intends
to.

Reviewed-by: Maciej W. Rozycki <macro@wdc.com>
Diffstat (limited to 'sysdeps/arm/aeabi_math.c')
0 files changed, 0 insertions, 0 deletions