with %r12 as base register are 1-byte longer. Arghh, i hate cisc...
Changes:
- $Id: patcher.c 2424 2005-04-30 13:45:06Z jowenn $
+ $Id: patcher.c 2426 2005-04-30 20:12:59Z twisti $
*/
if (showdisassemble)
ra = ra + 5;
+ /* handle special case when the base register is %r12 */
+
+ if (*(ra + 2) == 0x84)
+ ra = ra + 1;
+
/* patch the field's offset */
if (IS_2_WORD_TYPE(fi->type) || IS_ADR_TYPE(fi->type)) {