Fix the unaligned access code to handle stores from R31 (zero)

PR alpha/25535
This commit is contained in:
gallatin 2001-03-05 16:18:23 +00:00
parent 2d84e33d2e
commit fb80b58312

View File

@ -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 \