aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
Diffstat (limited to 'newlib')
-rw-r--r--newlib/libc/machine/riscv/setjmp.S4
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)