Since the rt_sigaction syscall on alpha doesn't have a sa_restorer,
do not include it in the kernel struct.

* signal.c (struct new_sigaction): Disable sa_restorer on alpha.
---
 signal.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/signal.c b/signal.c
index f013e0a..b501e31 100644
--- a/signal.c
+++ b/signal.c
@@ -1128,7 +1128,9 @@ struct new_sigaction
 #else
        void (*__sa_handler)(int);
        unsigned long sa_flags;
+# ifndef ALPHA
        void (*sa_restorer)(void);
+# endif /* !ALPHA */
 #endif /* !MIPS */
        /* Kernel treats sa_mask as an array of longs. */
        unsigned long sa_mask[NSIG / sizeof(long) ? NSIG / sizeof(long) : 1];
-- 
2.0.0


------------------------------------------------------------------------------
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to