summaryrefslogtreecommitdiff
path: root/dyngen.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-04-24 20:32:17 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-04-24 20:32:17 +0000
commitfd4a43e4e28a594a20beefe78b0fe7ecd34bd981 (patch)
tree1186cab290333dc8c149e72c5b7240aef0cafd1f /dyngen.h
parentad1a5b7853dbc510a9f6c9628ff623148d06c9d5 (diff)
downloadqemu-fd4a43e4e28a594a20beefe78b0fe7ecd34bd981.zip
ia64 fixes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1846 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'dyngen.h')
-rw-r--r--dyngen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dyngen.h b/dyngen.h
index 76866d4a19..5bb170e94d 100644
--- a/dyngen.h
+++ b/dyngen.h
@@ -420,6 +420,9 @@ static inline void ia64_apply_fixes (uint8_t **gen_code_pp,
}
ia64_imm22(fixup->addr, (long) vp - gp);
}
+ /* Keep code ptr aligned. */
+ if ((long) gen_code_ptr & 15)
+ gen_code_ptr += 8;
*gen_code_pp = gen_code_ptr;
}