projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Small read fix.
[qemu]
/
dyngen.h
diff --git
a/dyngen.h
b/dyngen.h
index
76866d4
..
5bb170e
100644
(file)
--- 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);
}
}
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;
}
*gen_code_pp = gen_code_ptr;
}