aboutsummaryrefslogtreecommitdiff
path: root/target-sh4
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-25 00:36:06 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-25 00:36:06 +0000
commit9b7b85d26006af61b69dbabe2354d73a8c67cc6c (patch)
treee4322a41fe45763778ff10a01b163724e5304f75 /target-sh4
parent8bba5c81b1febeb20cdd60f1c18eb0e695cad6d6 (diff)
downloadqemu-9b7b85d26006af61b69dbabe2354d73a8c67cc6c.zip
qemu-9b7b85d26006af61b69dbabe2354d73a8c67cc6c.tar.gz
qemu-9b7b85d26006af61b69dbabe2354d73a8c67cc6c.tar.bz2
Fix off-by-one unwinding error.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4570 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sh4')
-rw-r--r--target-sh4/op_helper.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/target-sh4/op_helper.c b/target-sh4/op_helper.c
index bbc3030..8c8318f 100644
--- a/target-sh4/op_helper.c
+++ b/target-sh4/op_helper.c
@@ -28,11 +28,6 @@ void do_raise_exception(void)
#ifndef CONFIG_USER_ONLY
#define MMUSUFFIX _mmu
-#ifdef __s390__
-# define GETPC() ((void*)((unsigned long)__builtin_return_address(0) & 0x7fffffffUL))
-#else
-# define GETPC() (__builtin_return_address(0))
-#endif
#define SHIFT 0
#include "softmmu_template.h"