qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [TRIVIAL] sas_ss_flags bug for powerpc


From: Alex Barcelo
Subject: [Qemu-devel] [TRIVIAL] sas_ss_flags bug for powerpc
Date: Thu, 9 Feb 2012 19:30:13 +0100

Signed-off-by: Alex Barcelo <address@hidden>
---
 linux-user/signal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/linux-user/signal.c b/linux-user/signal.c
index 79a39dc..26e0530 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -4115,7 +4115,7 @@ static target_ulong get_sigframe(struct
target_sigaction *ka,
     oldsp = env->gpr[1];

     if ((ka->sa_flags & TARGET_SA_ONSTACK) &&
-        (sas_ss_flags(oldsp))) {
+        (sas_ss_flags(oldsp)) == 0) {
         oldsp = (target_sigaltstack_used.ss_sp
                  + target_sigaltstack_used.ss_size);
     }
-- 
1.7.5.4



reply via email to

[Prev in Thread] Current Thread [Next in Thread]