aboutsummaryrefslogtreecommitdiff
path: root/target-cris/op_helper.c
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-cris/op_helper.c
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-cris/op_helper.c')
-rw-r--r--target-cris/op_helper.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/target-cris/op_helper.c b/target-cris/op_helper.c
index ea8016b..abcf9b4 100644
--- a/target-cris/op_helper.c
+++ b/target-cris/op_helper.c
@@ -24,11 +24,6 @@
#include "mmu.h"
#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"