Commit 235262cf364a839d94e7e9d5b469ac8efb703285
1 parent
a9fc4a78
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
Showing
1 changed file
with
0 additions
and
3 deletions
linux-user/signal.c
... | ... | @@ -3023,9 +3023,6 @@ long do_sigreturn(CPUState *env) |
3023 | 3023 | sigprocmask(SIG_SETMASK, &set, NULL); |
3024 | 3024 | |
3025 | 3025 | restore_sigcontext(&frame->sc, env); |
3026 | - /* Compensate for the syscall return path advancing brk. */ | |
3027 | - env->pc -= 2; | |
3028 | - | |
3029 | 3026 | unlock_user_struct(frame, frame_addr, 0); |
3030 | 3027 | return env->regs[10]; |
3031 | 3028 | badframe: | ... | ... |