Fix the unaligned access code to handle stores from R31 (zero)
PR alpha/25535
This commit is contained in:
parent
dec507e8f7
commit
f7c3f9d72f
@ -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