From patchwork Thu Aug 11 12:40:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 14486 Received: (qmail 114868 invoked by alias); 11 Aug 2016 12:40:23 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 114855 invoked by uid 89); 11 Aug 2016 12:40:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=tile, H*MI:oldenburg, newline, Hx-languages-length:2278 X-HELO: mx1.redhat.com Date: Thu, 11 Aug 2016 14:40:19 +0200 To: libc-alpha@sourceware.org Subject: [PATCH] Use sysdep.o from libc.a in libpthread.a on more architectures [BZ #20452] User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Message-Id: <20160811124019.C0107401EA74B@oldenburg.str.redhat.com> From: fweimer@redhat.com (Florian Weimer) This changes microblaze, powerpc, sparc, tile, in addition to x86, which was changed in commit e67330ab57bfd0f964539576ae7dcc658c456724. 2016-08-11 Florian Weimer [BZ #20452] Use sysdep.o from libc.a in static libraries. * sysdeps/unix/sysv/linux/microblaze/Makefile (libpthread-shared-only-routines): Add sysdep. * sysdeps/unix/sysv/linux/powerpc/Makefile (libpthread-shared-only-routines): Likewise. * sysdeps/unix/sysv/linux/sparc/Makefile (libpthread-shared-only-routines): Likewise. * sysdeps/unix/sysv/linux/tole/Makefile (libpthread-shared-only-routines): Likewise. diff --git a/sysdeps/unix/sysv/linux/microblaze/Makefile b/sysdeps/unix/sysv/linux/microblaze/Makefile index 44a838f..d178bc6 100644 --- a/sysdeps/unix/sysv/linux/microblaze/Makefile +++ b/sysdeps/unix/sysv/linux/microblaze/Makefile @@ -5,4 +5,5 @@ endif ifeq ($(subdir),nptl) # pull in __syscall_error routine libpthread-routines += sysdep -endif \ No newline at end of file +libpthread-shared-only-routines += sysdep +endif diff --git a/sysdeps/unix/sysv/linux/powerpc/Makefile b/sysdeps/unix/sysv/linux/powerpc/Makefile index c89ed9e..709650b 100644 --- a/sysdeps/unix/sysv/linux/powerpc/Makefile +++ b/sysdeps/unix/sysv/linux/powerpc/Makefile @@ -34,4 +34,5 @@ ifeq ($(subdir),nptl) libpthread-routines += sysdep libpthread-sysdep_routines += elision-lock elision-unlock elision-timed \ elision-trylock +libpthread-shared-only-routines += sysdep endif diff --git a/sysdeps/unix/sysv/linux/sparc/Makefile b/sysdeps/unix/sysv/linux/sparc/Makefile index e67aecf..ffab97b 100644 --- a/sysdeps/unix/sysv/linux/sparc/Makefile +++ b/sysdeps/unix/sysv/linux/sparc/Makefile @@ -15,4 +15,5 @@ endif ifeq ($(subdir),nptl) # pull in __syscall_error routine libpthread-routines += sysdep +libpthread-shared-only-routines += sysdep endif diff --git a/sysdeps/unix/sysv/linux/tile/Makefile b/sysdeps/unix/sysv/linux/tile/Makefile index 1c1cfff..43acea3 100644 --- a/sysdeps/unix/sysv/linux/tile/Makefile +++ b/sysdeps/unix/sysv/linux/tile/Makefile @@ -25,4 +25,5 @@ endif ifeq ($(subdir),nptl) # pull in __syscall_error routine libpthread-routines += sysdep +libpthread-shared-only-routines += sysdep endif