[PATCH] RISC-V: Using SYS_clock_gettime64 for rv32 libgloss.

Corinna Vinschen vinschen@redhat.com
Tue Apr 13 10:55:10 GMT 2021


On Apr 13 17:33, Kito Cheng wrote:
>  - RISC-V 32 bits linux/glibc didn't provide gettimeofday anymore
>    after upstream, because RV32 didn't have backward compatible issue,
>    so RV32 only support 64 bits time related system call.
> 
>  - So using clock_gettime64 call instead for rv32 libgloss.
> ---
>  libgloss/riscv/machine/syscall.h  |  1 +
>  libgloss/riscv/sys_gettimeofday.c | 21 +++++++++++++++++++++
>  2 files changed, 22 insertions(+)

Pushed.


Thanks,
Corinna



More information about the Newlib mailing list