diff options
author | Eric Salem <ericsalem@gmail.com> | 2025-04-20 15:39:18 -0500 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2025-04-23 11:00:12 -0400 |
commit | 13759479d648d3e8e7e7553921a9d02015cdeb2d (patch) | |
tree | 08a49db48cea4b3c5f96c8982111a0722517a4df | |
parent | 82d6026f93de3f531fb001f67970ccb221923bf0 (diff) | |
download | newlib-main.zip newlib-main.tar.gz newlib-main.tar.bz2 |
newlib: riscv: Fix build for rv64eHEADgithub/mastergithub/mainmastermain
Update the macro check so that rv64e builds successfully.
Signed-off-by: Eric Salem <ericsalem@gmail.com>
-rw-r--r-- | newlib/libc/machine/riscv/setjmp.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/machine/riscv/setjmp.S b/newlib/libc/machine/riscv/setjmp.S index eef242e..2d4ab6c 100644 --- a/newlib/libc/machine/riscv/setjmp.S +++ b/newlib/libc/machine/riscv/setjmp.S @@ -19,7 +19,7 @@ setjmp: REG_S s0, 1*SZREG(a0) REG_S s1, 2*SZREG(a0) -#ifndef __riscv_32e +#ifndef __riscv_abi_rve REG_S s2, 3*SZREG(a0) REG_S s3, 4*SZREG(a0) REG_S s4, 5*SZREG(a0) @@ -61,7 +61,7 @@ longjmp: REG_L ra, 0*SZREG(a0) REG_L s0, 1*SZREG(a0) REG_L s1, 2*SZREG(a0) -#ifndef __riscv_32e +#ifndef __riscv_abi_rve REG_L s2, 3*SZREG(a0) REG_L s3, 4*SZREG(a0) REG_L s4, 5*SZREG(a0) |