[PATCH] tile: use siginfo_t, not struct siginfo
Chris Metcalf
cmetcalf at tilera.com
Wed May 22 00:25:22 UTC 2013
As of glibc 2.16, "struct siginfo" is no longer supported,
and "siginfo_t" must be used instead.
Signed-off-by: Chris Metcalf <cmetcalf at tilera.com>
---
signal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/signal.c b/signal.c
index cc1d511..55815aa 100644
--- a/signal.c
+++ b/signal.c
@@ -971,7 +971,7 @@ sys_sigreturn(struct tcb *tcp)
sigset_t sigm;
/* offset of ucontext in the kernel's sigframe structure */
-# define SIGFRAME_UC_OFFSET C_ABI_SAVE_AREA_SIZE + sizeof(struct siginfo)
+# define SIGFRAME_UC_OFFSET C_ABI_SAVE_AREA_SIZE + sizeof(siginfo_t)
if (umove(tcp, tile_regs.sp + SIGFRAME_UC_OFFSET, &uc) < 0)
return 0;
sigemptyset(&sigm);
--
1.7.10.3
More information about the Strace-devel
mailing list