From d9d96f06084b1c7d4bd8653f26cc1001b5de1d56 Mon Sep 17 00:00:00 2001 From: Daniel Hellstrom Date: Thu, 14 Nov 2019 10:26:21 +0100 Subject: sparc: fix bad register alignment for 64 bit store Update #4311. --- cpukit/score/cpu/sparc/sparc-access.S | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cpukit/score/cpu/sparc/sparc-access.S b/cpukit/score/cpu/sparc/sparc-access.S index 9397cb815b..277fb7e652 100644 --- a/cpukit/score/cpu/sparc/sparc-access.S +++ b/cpukit/score/cpu/sparc/sparc-access.S @@ -80,7 +80,9 @@ SYM(_st32): SYM(_st_be64): SYM(_st64): - std %o1, [%o0] + mov %o2, %o3 + mov %o1, %o2 + std %o2, [%o0] retl nop -- cgit v1.2.3