diff options
Diffstat (limited to 'exec-all.h')
-rw-r--r-- | exec-all.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exec-all.h b/exec-all.h index 94ed613e37..6b3272ab9e 100644 --- a/exec-all.h +++ b/exec-all.h @@ -337,7 +337,7 @@ extern uintptr_t tci_tb_ptr; *(int32_t *)((void *)GETRA() + 3) - 1)) # elif defined (_ARCH_PPC) && !defined (_ARCH_PPC64) # define GETRA() ((uintptr_t)__builtin_return_address(0)) -# define GETPC_LDST() ((uintptr_t) ((*(int32_t *)(GETRA() + 4)) - 1)) +# define GETPC_LDST() ((uintptr_t) ((*(int32_t *)(GETRA() - 4)) - 1)) # else # error "CONFIG_QEMU_LDST_OPTIMIZATION needs GETPC_LDST() implementation!" # endif |