diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2014-07-25 17:39:06 +0530 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2014-08-18 11:52:34 +0200 |
commit | 0550c0c5192e009409d9a23f644419699c9eb500 (patch) | |
tree | 6d08f1a29f59bf8b168f2105d7b6a84f65e1f5b1 | |
parent | 873fa5beccbb4e95d1bbb9afb6a0eec02811f09b (diff) |
ARC/NPTL: Fix __libc_sigaction redefinition with static links
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/arc/pt-__syscall_rt_sigaction.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arc/pt-__syscall_rt_sigaction.c b/libpthread/nptl/sysdeps/unix/sysv/linux/arc/pt-__syscall_rt_sigaction.c index 346651826..967dad1b0 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/arc/pt-__syscall_rt_sigaction.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arc/pt-__syscall_rt_sigaction.c @@ -4,4 +4,10 @@ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball. */ -#include <../../../../../../../libc/sysdeps/linux/arc/sigaction.c> +/* + * ARC syscall ABI only has __NR_rt_sigaction, thus vanilla sigaction does + * some SA_RESTORER tricks before calling __syscall_rt_sigaction. + * However including that file here causes a redefinition of __libc_sigaction + * in static links involving pthreads + */ +//#include <../../../../../../../libc/sysdeps/linux/arc/sigaction.c> |