summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-06-22 13:30:21 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-06-27 08:58:18 +0200
commit9b2ef07f4b2307c2ea7c057918643747e8e2f4a4 (patch)
tree3d06b312925015e2ceda50bbdea1da90a1ba833e /cpukit
parentbsp/riscv: Use memset() to clear .bss (diff)
downloadrtems-9b2ef07f4b2307c2ea7c057918643747e8e2f4a4.tar.bz2
bsp/riscv: Load global pointer
Update #3433.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/score/cpu/riscv/riscv-context-switch.S2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpukit/score/cpu/riscv/riscv-context-switch.S b/cpukit/score/cpu/riscv/riscv-context-switch.S
index 448a5991a0..705cd77175 100644
--- a/cpukit/score/cpu/riscv/riscv-context-switch.S
+++ b/cpukit/score/cpu/riscv/riscv-context-switch.S
@@ -51,7 +51,6 @@ SYM(_CPU_Context_switch):
SREG x1, (1 * CPU_SIZEOF_POINTER)(a0)
SREG x2, (2 * CPU_SIZEOF_POINTER)(a0)
- SREG x3, (3 * CPU_SIZEOF_POINTER)(a0)
SREG x4, (4 * CPU_SIZEOF_POINTER)(a0)
SREG x5, (5 * CPU_SIZEOF_POINTER)(a0)
SREG x6, (6 * CPU_SIZEOF_POINTER)(a0)
@@ -85,7 +84,6 @@ SYM(_CPU_Context_switch):
LREG x1, (1 * CPU_SIZEOF_POINTER)(a1)
LREG x2, (2 * CPU_SIZEOF_POINTER)(a1)
- LREG x3, (3 * CPU_SIZEOF_POINTER)(a1)
LREG x4, (4 * CPU_SIZEOF_POINTER)(a1)
LREG x5, (5 * CPU_SIZEOF_POINTER)(a1)
LREG x6, (6 * CPU_SIZEOF_POINTER)(a1)