]> granicus.if.org Git - strace/commitdiff
Move sigreturn parser to libstrace
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 13 Mar 2017 01:58:33 +0000 (01:58 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 13 Mar 2017 15:22:50 +0000 (15:22 +0000)
All architectures have rt_sigreturn, but only old ones also have
sigreturn.  Since not all architectures need a parser of sigreturn
syscall, remove the warning and move the parser to libstrace.

* Makefile.am (strace_SOURCES): Move sigreturn.c ...
(libstrace_a_SOURCES): ... here.
* linux/arch_sigreturn.c: Remove warning.

Makefile.am
linux/arch_sigreturn.c

index e5a9447460537753275ccc4386e59c63fa9d9c0e..61aa7ea00ce6fcc58d82767c204c75d364853536 100644 (file)
@@ -70,6 +70,7 @@ libstrace_a_SOURCES = \
        fstatfs.c \
        fstatfs64.c \
        ipc.c \
+       sigreturn.c     \
        socketcall.c \
        statfs.c \
        statfs64.c \
@@ -224,7 +225,6 @@ strace_SOURCES =    \
        sigevent.h      \
        signal.c        \
        signalfd.c      \
-       sigreturn.c     \
        sock.c          \
        sockaddr.c      \
        socketutils.c   \
index 73a2b103e0ec8882068f3a5d9440fc44a31781e1..8f101d84e6f7ab834de4d4f1ec7593734b3427a8 100644 (file)
@@ -1,5 +1,3 @@
-#warning sigreturn/rt_sigreturn signal mask decoding is not implemented for this architecture
-
 static void
 arch_sigreturn(struct tcb *tcp)
 {