diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-07-02 14:06:26 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-07-02 14:06:26 +0000 |
commit | 6d8aa3bfed71ef1a09290e9bcdf741e37e9f7a06 (patch) | |
tree | 9ccbcd86e34535c6fcc15a26f794d593dc80f3ac /exec-all.h | |
parent | 2657c6633280f6ed9b1b5e75a6c60f069b39f702 (diff) | |
download | qemu-6d8aa3bfed71ef1a09290e9bcdf741e37e9f7a06.tar.gz qemu-6d8aa3bfed71ef1a09290e9bcdf741e37e9f7a06.tar.bz2 qemu-6d8aa3bfed71ef1a09290e9bcdf741e37e9f7a06.zip |
Remove unaligned accesses in ia64_apply_fixes().
Make sure that the static variables are not optimized away in GOTO_TB. (patch by Andreas Schwab)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3042 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec-all.h')
-rw-r--r-- | exec-all.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/exec-all.h b/exec-all.h index dbfe457614..8ea057b79c 100644 --- a/exec-all.h +++ b/exec-all.h @@ -346,8 +346,8 @@ do {\ cache flushing, but slower because of indirect jump) */ #define GOTO_TB(opname, tbparam, n)\ do {\ - static void __attribute__((unused)) *dummy ## n = &&dummy_label ## n;\ - static void __attribute__((unused)) *__op_label ## n \ + static void __attribute__((used)) *dummy ## n = &&dummy_label ## n;\ + static void __attribute__((used)) *__op_label ## n \ __asm__(ASM_OP_LABEL_NAME(n, opname)) = &&label ## n;\ goto *(void *)(((TranslationBlock *)tbparam)->tb_next[n]);\ label ## n: ;\ |