aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authoredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-08 14:39:08 +0000
committeredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-08 14:39:08 +0000
commit235262cf364a839d94e7e9d5b469ac8efb703285 (patch)
tree32f8f482278b36075c6c88013690726341ee9a4f /linux-user
parenta9fc4a7826efe9e0d306e9779053d84183d36f54 (diff)
CRIS: linux-user signals dont need ERP compensation after break anymore.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5450 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/signal.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/linux-user/signal.c b/linux-user/signal.c
index 88f6a21785..1dd634f796 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -3023,9 +3023,6 @@ long do_sigreturn(CPUState *env)
sigprocmask(SIG_SETMASK, &set, NULL);
restore_sigcontext(&frame->sc, env);
- /* Compensate for the syscall return path advancing brk. */
- env->pc -= 2;
-
unlock_user_struct(frame, frame_addr, 0);
return env->regs[10];
badframe: