Patchwork [RFC,06/11] linux-user: Unify signal handling for mips

login
register
mail settings
Submitter Andreas Färber
Date Dec. 29, 2011, 3:55 p.m.
Message ID <1325174149-8077-7-git-send-email-afaerber@suse.de>
Download mbox | patch
Permalink /patch/133565/
State New
Headers show

Comments

Andreas Färber - Dec. 29, 2011, 3:55 p.m.
As suggested by Richard.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Khansa Butt <khansa@kics.edu.pk>
---
 linux-user/signal.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

Patch

diff --git a/linux-user/signal.c b/linux-user/signal.c
index bafbc57..394984d 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -2422,7 +2422,8 @@  void sparc64_get_context(CPUSPARCState *env)
     force_sig(TARGET_SIGSEGV);
 }
 #endif
-#elif defined(TARGET_ABI_MIPSN64)
+#elif defined(TARGET_MIPS)
+#if defined(TARGET_ABI_MIPSN64)
 
 # warning signal handling not implemented
 
@@ -2908,6 +2909,7 @@  badframe:
     return 0;
 }
 
+#endif /* TARGET_ABI_MIPSO32 */
 #elif defined(TARGET_SH4)
 
 /*