From patchwork Tue Mar 21 13:40:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 741536 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vnYqM5pVMz9s7l for ; Wed, 22 Mar 2017 00:40:47 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="KVwDC68W"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=Quo9FxcP/Zm7G7GcwCNumdo8nYOFalg ni+LivZGBJP3/AQTpJ0FvdMwkD69f/DY/AZ/x+eWt6XkXg24S6rVI8TwZqYUb5OD S0avDVWulPYs0iIN4A0P5RxhBOWVUeQFx4bMl/fW3lFZvRzbPUmipZpqLhg/eUi9 +S3AmeHXDOTc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=UiFGYWfclrilkVhGM3ehcUIppQA=; b=KVwDC 68WcEZDDkpoI4HO6PHrKJRUJN+edO5466MTAEKPu0qDGn3KFad4TWQ0z2yaHlw3G bYTl5yQM2d0RGW2Ui7dVmYsOomw6jYQrzXmEfeNGQCrrLmq2aa8rcwFELKE+m+mV dpP6YenM38/bHElURlf/Va6MVib7c4SG+ZTceA= Received: (qmail 81633 invoked by alias); 21 Mar 2017 13:40:30 -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 75543 invoked by uid 89); 21 Mar 2017 13:40:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.0 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-qt0-f177.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=fd9PGUyoGwkIR109+J6UM9FrF0uV1tA66WV1x+VTDzg=; b=IXu8qXe398t0DW4eWe1cfgWFlBTQTEub42LlgiIsqjnRmVMUjGQvrbsWKWNj9YsFgK B5/p+47G3YKuhjWpAwpufXNkCCkykf3v0tVFaVoh7i+m1BgT8eYIn/r5mxT1juRhPWhr J6DoAr5ID+A6x5lVeN8DPewyFL0Z0gpJFs1XteF+O5kxIYbkOn4hfmCYdZAao9HSWQZg raKhMJWGs4ZcLWGBYmXYFR8T0PwDPVZEwzZA6XOJUFrLFWcevl8HdPqrq+SNu001pgxp NktyLHe+Bq4StlDpfecwNF6g2KMMaZ8ugbNYwGlQ8EcZ8dN0UShZzcQjtOCRYmqfcYVj Sd3A== X-Gm-Message-State: AFeK/H32+/8F5peeCHHcdA+dDYoCeiC4IZb3TfCJN728MPNxB3rllPXf9/HuwGM7xG5YizwR X-Received: by 10.200.37.208 with SMTP id f16mr30462698qtf.118.1490103620824; Tue, 21 Mar 2017 06:40:20 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH 1/6] Consolidate pthreadtype.h placement Date: Tue, 21 Mar 2017 10:40:07 -0300 Message-Id: <1490103612-9401-2-git-send-email-adhemerval.zanella@linaro.org> In-Reply-To: <1490103612-9401-1-git-send-email-adhemerval.zanella@linaro.org> References: <1490103612-9401-1-git-send-email-adhemerval.zanella@linaro.org> This patch moves all arch specific pthreadtypes.h to a similar path for all architectures (sysdeps/unix/sysv//bits). No functional or build change is expected. The idea is mainly to organize the header placement for all architectures. Checked with a build for all major ABI (aarch64-linux-gnu, alpha-linux-gnu, arm-linux-gnueabi, hppa-linux-gnu, i386-linux-gnu, ia64-linux-gnu, m68k-linux-gnu, microblaze-linux-gnu [1], mips{64}-linux-gnu, nios2-linux-gnu, powerpc{64le}-linux-gnu, s390{x}-linux-gnu, sparc{64}-linux-gnu, tile{pro,gx}-linux-gnu, and x86_64-linux-gnu). --- ChangeLog | 10 ++++++++++ .../{unix/sysv/linux/alpha => alpha/nptl}/bits/pthreadtypes.h | 0 .../sysv/linux/powerpc => powerpc/nptl}/bits/pthreadtypes.h | 0 sysdeps/unix/sysv/linux/x86/Implies | 1 + sysdeps/x86/{ => nptl}/bits/pthreadtypes.h | 0 5 files changed, 11 insertions(+) rename sysdeps/{unix/sysv/linux/alpha => alpha/nptl}/bits/pthreadtypes.h (100%) rename sysdeps/{unix/sysv/linux/powerpc => powerpc/nptl}/bits/pthreadtypes.h (100%) create mode 100644 sysdeps/unix/sysv/linux/x86/Implies rename sysdeps/x86/{ => nptl}/bits/pthreadtypes.h (100%) diff --git a/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h b/sysdeps/alpha/nptl/bits/pthreadtypes.h similarity index 100% rename from sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h rename to sysdeps/alpha/nptl/bits/pthreadtypes.h diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h b/sysdeps/powerpc/nptl/bits/pthreadtypes.h similarity index 100% rename from sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h rename to sysdeps/powerpc/nptl/bits/pthreadtypes.h diff --git a/sysdeps/unix/sysv/linux/x86/Implies b/sysdeps/unix/sysv/linux/x86/Implies new file mode 100644 index 0000000..e454b28 --- /dev/null +++ b/sysdeps/unix/sysv/linux/x86/Implies @@ -0,0 +1 @@ +x86/nptl diff --git a/sysdeps/x86/bits/pthreadtypes.h b/sysdeps/x86/nptl/bits/pthreadtypes.h similarity index 100% rename from sysdeps/x86/bits/pthreadtypes.h rename to sysdeps/x86/nptl/bits/pthreadtypes.h