Hi Florian,
On 2/25/20 1:27 AM, Florian Weimer wrote:
> * Vineet Gupta:
>
>> +/* Override syscalls for asm-generic ABIs with 64-bit time. */
>> +#if __WORDSIZE == 32 && __TIMESIZE == 64
>> +
>> +# undef __NR_futex
>> +# define __NR_futex __NR_futex_time64
>> +
>> +# undef __NR_rt_sigtimedwait
* Vineet Gupta:
> +/* Override syscalls for asm-generic ABIs with 64-bit time. */
> +#if __WORDSIZE == 32 && __TIMESIZE == 64
> +
> +# undef __NR_futex
> +# define __NR_futex __NR_futex_time64
> +
> +# undef __NR_rt_sigtimedwait
> +# define __NR_rt_sigtimedwait __NR_rt_sigtimedwait_time64
I'm
On 2/24/20 4:59 PM, Alistair Francis wrote:
>> +/* Override syscalls for asm-generic ABIs with 64-bit time. */
>> +#if __WORDSIZE == 32 && __TIMESIZE == 64
>> +
>> +# undef __NR_futex
>> +# define __NR_futex __NR_futex_time64
> I think you should do what RV32 does and wrap these in ifndef's
ARC
On Mon, Feb 24, 2020 at 10:34 AM Vineet Gupta
wrote:
>
> This provides better out-of-box support for 32-bit arches with 64-bit
> time_t
>
> Signed-off-by: Vineet Gupta
> ---
> sysdeps/unix/sysv/linux/generic/sysdep.h | 48
> 1 file changed, 48 insertions(+)
>
> diff
This provides better out-of-box support for 32-bit arches with 64-bit
time_t
Signed-off-by: Vineet Gupta
---
sysdeps/unix/sysv/linux/generic/sysdep.h | 48
1 file changed, 48 insertions(+)
diff --git a/sysdeps/unix/sysv/linux/generic/sysdep.h