From patchwork Fri Oct 25 05:57:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 286084 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 8DC2E2C0094 for ; Fri, 25 Oct 2013 16:59:06 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 0DD6332EB7; Fri, 25 Oct 2013 05:59:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kXeufwHmXkQx; Fri, 25 Oct 2013 05:59:01 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 3486232EB8; Fri, 25 Oct 2013 05:59:01 +0000 (UTC) X-Original-To: uclibc@lists.busybox.net Delivered-To: uclibc@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id AF4851BF836 for ; Fri, 25 Oct 2013 05:58:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 51EFF88244 for ; Fri, 25 Oct 2013 05:58:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0y6UrPtM1R6x for ; Fri, 25 Oct 2013 05:58:56 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tango.tkos.co.il (tango.tkos.co.il [62.219.50.35]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4437585536 for ; Fri, 25 Oct 2013 05:58:55 +0000 (UTC) Received: from tarshish.tkos.co.il (80.179.12.157.static.012.net.il [80.179.12.157]) (authenticated bits=0) by tango.tkos.co.il (8.14.4/8.12.11) with ESMTP id r9P5wh8Q022443; Fri, 25 Oct 2013 07:58:50 +0200 From: Baruch Siach To: uclibc@uclibc.org Subject: [PATCH] sigaction: fix for THREADS_NATIVE Date: Fri, 25 Oct 2013 08:57:40 +0300 Message-Id: <5bf3e903eef9245b0b15e95b46f968c73b3d8f16.1382680605.git.baruch@tkos.co.il> X-Mailer: git-send-email 1.8.4.rc3 X-Scanned-By: MIMEDefang 2.62 on 62.219.50.35 X-BeenThere: uclibc@uclibc.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion and development of uClibc \(the embedded C library\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: uclibc-bounces@uclibc.org Sender: uclibc-bounces@uclibc.org Commit 9c4fce55a (nptl: remove sigaction, sigprocmask, and sigfillset from libpthread) removed pt-sigaction.c from the build to fix static build. However, since the libc sigaction is weak when HAS_THREADS is enabled, static build is not be affected. Tested for xtensa target. Fixes nptl/tst-signal7. Cc: Austin Foxley Signed-off-by: Baruch Siach --- libpthread/nptl/sysdeps/pthread/Makefile.in | 1 + 1 file changed, 1 insertion(+) diff --git a/libpthread/nptl/sysdeps/pthread/Makefile.in b/libpthread/nptl/sysdeps/pthread/Makefile.in index add3a8e..5713068 100644 --- a/libpthread/nptl/sysdeps/pthread/Makefile.in +++ b/libpthread/nptl/sysdeps/pthread/Makefile.in @@ -33,6 +33,7 @@ libpthread_pthread_CSRC = \ pthread_spin_init.c \ pthread_spin_unlock.c \ pt-longjmp.c \ + pt-sigaction.c \ tpp.c CFLAGS-pthread = $(SSP_ALL_CFLAGS) -DNOT_IN_libc -DIS_IN_libpthread CFLAGS-pthread_barrier_wait.c = -D_GNU_SOURCE