diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2013-05-21 20:25:22 -0400 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2013-05-23 15:41:23 +0200 |
commit | 5c0796f3462b1cf6ef9ed114e255763791d66b78 (patch) | |
tree | b88ebc79397c2932f00e9f626082ac9d9c465fbd | |
parent | d90a2d26c10ad04da5298c112c34db10545ebed9 (diff) | |
download | strace-5c0796f3462b1cf6ef9ed114e255763791d66b78.tar.gz strace-5c0796f3462b1cf6ef9ed114e255763791d66b78.tar.bz2 strace-5c0796f3462b1cf6ef9ed114e255763791d66b78.tar.xz |
tile: use siginfo_t, not struct siginfo
As of glibc 2.16, "struct siginfo" is no longer supported,
and "siginfo_t" must be used instead.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
-rw-r--r-- | signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |