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: 95626 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp1445199qgd; Tue, 21 Mar 2017 06:40:50 -0700 (PDT) X-Received: by 10.84.175.67 with SMTP id s61mr48443978plb.126.1490103650834; Tue, 21 Mar 2017 06:40:50 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id v198si17267002pgb.216.2017.03.21.06.40.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Mar 2017 06:40:50 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-return-78098-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org; spf=pass (google.com: domain of libc-alpha-return-78098-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=libc-alpha-return-78098-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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=XsHm83gP/yheKEGnQkLduaP6FXtwhMV IJA0jexKRusxAHGZS6zft/pRr7xGdGnY4kOQv08Jt50ci0mdJ0Wbg4Cedpw+juO5 ozifaIvW40+smrWyIw7et4WsEVQbmTJxvyH14Znj9WvgcxO/eLG1X1Pt3rn6Svel ZSMZwwUpo0+c= 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=EQepJ qrr37+anr+O/dfFaTd3uu9B8/v0CyW25QyGS1rdjJp9EstgwDVF3wdsbQ7uVwur5 6qPCmDzbXzWhXAX1JH6iRUq38WibhaoaxF2LZJGAl6IUkaNP4f0H/AbVLrIFrH+0 8VeZ4uQcZ6tJZOVdxM0LTp3+KIHj/Y0EJc1TQY= 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%) -- 2.7.4 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