Fix the unaligned access code to handle stores from R31 (zero)
PR alpha/25535
This commit is contained in:
parent
2d84e33d2e
commit
fb80b58312
@ -837,8 +837,9 @@ const static int reg_to_framereg[32] = {
|
||||
|
||||
#define unaligned_store(storage, ptrf, mod) \
|
||||
if ((regptr = ptrf(p, reg)) == NULL) \
|
||||
break; \
|
||||
(storage) = mod (*regptr); \
|
||||
(storage) = 0; \
|
||||
else \
|
||||
(storage) = mod (*regptr); \
|
||||
if (copyout(&(storage), (caddr_t)va, sizeof (storage)) == 0) \
|
||||
signal = 0; \
|
||||
else \
|
||||
|
Loading…
Reference in New Issue
Block a user