Re: [PATCH] RISC-V: Using SYS_clock_gettime64 for rv32 libgloss.
Corinna Vinschen <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
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