1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-22 07:37:38 +01:00

Fix typo in ia64_put()

(Logical change 1.24)
This commit is contained in:
model.com!marky 2002-11-14 19:12:58 +00:00
parent 790d1442a0
commit c2262737f7

View file

@ -315,8 +315,8 @@ ia64_put (struct ia64_cursor *c, unw_word_t loc, unw_word_t val)
return ia64_putfp (c, loc, tmp); return ia64_putfp (c, loc, tmp);
} }
if (loc & 1) if (IA64_IS_REG_LOC (loc))
return (*c->acc.access_reg)(loc >> 1, &val, 1, c->acc.arg); return (*c->acc.access_reg)(IA64_GET_LOC (loc), &val, 1, c->acc.arg);
else else
return (*c->acc.access_mem)(loc, &val, 1, c->acc.arg); return (*c->acc.access_mem)(loc, &val, 1, c->acc.arg);
} }