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

PR alpha/25535
This commit is contained in:
Andrew Gallatin 2001-03-05 16:18:23 +00:00
parent dec507e8f7
commit f7c3f9d72f

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 \