summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--signal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/signal.c b/signal.c
index e3072f1..162eb53 100644
--- a/signal.c
+++ b/signal.c
@@ -786,7 +786,7 @@ decode_old_sigaction(struct tcb *tcp, long addr)
#endif
tprints(", ");
printflags(sigact_flags, sa.sa_flags, "SA_???");
-#ifdef SA_RESTORER
+#if defined(SA_RESTORER) && !defined(MIPS)
if (sa.sa_flags & SA_RESTORER)
tprintf(", %p", sa.sa_restorer);
#endif
@@ -1381,7 +1381,7 @@ decode_new_sigaction(struct tcb *tcp, long addr)
tprints(", ");
printflags(sigact_flags, sa.sa_flags, "SA_???");
-#ifdef SA_RESTORER
+#if defined(SA_RESTORER) && !defined(MIPS)
if (sa.sa_flags & SA_RESTORER)
tprintf(", %p", sa.sa_restorer);
#endif