Re: [PATCH 1/2] libgloss: riscv: Fix build for rv64e
Jeff Johnston <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <CAOox84uZ6dLyfAY7m+uFp-W85HM=-3D53twqEQCBi7w0uBdQGA@mail.gmail.com> |
Patches merged. -- Jeff J. On Sun, Apr 20, 2025 at 4:39 PM Eric Salem <[email protected]> wrote: > Update the macro check so that rv64e builds successfully. > > Signed-off-by: Eric Salem <[email protected]> > --- > libgloss/riscv/internal_syscall.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libgloss/riscv/internal_syscall.h > b/libgloss/riscv/internal_syscall.h > index 080c8c847e04..254880b48b00 100644 > --- a/libgloss/riscv/internal_syscall.h > +++ b/libgloss/riscv/internal_syscall.h > @@ -24,7 +24,7 @@ __syscall_error(long a0) > static inline long > __internal_syscall(long n, int argc, long _a0, long _a1, long _a2, long > _a3, long _a4, long _a5) > { > -#ifdef __riscv_32e > +#ifdef __riscv_abi_rve > register long syscall_id asm("t0") = n; > #else > register long syscall_id asm("a7") = n; > -- > 2.49.0 > >