diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-02-02 11:03:13 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-02-02 11:03:13 +0100 |
commit | 9399473cb83985fd222e299e4581a232f5d35028 (patch) | |
tree | d6b08f3949782850186aaa70bf007c99f39c3caa /cpukit/score | |
parent | build: Do not install test programs (diff) | |
download | rtems-9399473cb83985fd222e299e4581a232f5d35028.tar.bz2 |
riscv: Fix misaligned access in context validate
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/cpu/riscv/riscv-context-validate.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/cpu/riscv/riscv-context-validate.S b/cpukit/score/cpu/riscv/riscv-context-validate.S index bd2a7f0317..6bdb06a15b 100644 --- a/cpukit/score/cpu/riscv/riscv-context-validate.S +++ b/cpukit/score/cpu/riscv/riscv-context-validate.S @@ -66,7 +66,7 @@ #if __riscv_flen == 32 #define FOFFSET(i) (OFFSET(29) + (i) * 4) #elif __riscv_flen == 64 -#define FOFFSET(i) (OFFSET(29) + (i) * 8) +#define FOFFSET(i) (OFFSET(30) + (i) * 8) #else #define FOFFSET(i) OFFSET(29) #endif /* __riscv_flen */ |