diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2019-11-14 10:26:21 +0100 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2021-03-11 17:35:27 +0100 |
commit | 1d804cbcd4eea74ad46d692489d4cb849a250d50 (patch) | |
tree | 427da79a3e125a6171bb36ff6f3cb1026edac07b | |
parent | leon: restart and load timer counter at initialization (diff) | |
download | rtems-1d804cbcd4eea74ad46d692489d4cb849a250d50.tar.bz2 |
sparc: fix bad register alignment for 64 bit store
-rw-r--r-- | cpukit/score/cpu/sparc/sparc-access.S | 4 |
1 files changed, 3 insertions, 1 deletions
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 |