aboutsummaryrefslogtreecommitdiff
path: root/linux-user/microblaze/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/microblaze/signal.c')
-rw-r--r--linux-user/microblaze/signal.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/linux-user/microblaze/signal.c b/linux-user/microblaze/signal.c
index 5572baa7dc..fada0f1495 100644
--- a/linux-user/microblaze/signal.c
+++ b/linux-user/microblaze/signal.c
@@ -133,9 +133,7 @@ static abi_ulong get_sigframe(struct target_sigaction *ka,
{
abi_ulong sp = env->regs[1];
- if ((ka->sa_flags & TARGET_SA_ONSTACK) != 0 && !on_sig_stack(sp)) {
- sp = target_sigaltstack_used.ss_sp + target_sigaltstack_used.ss_size;
- }
+ sp = target_sigsp(sp, ka);
return ((sp - frame_size) & -8UL);
}