From patchwork Mon Apr 3 15:08:33 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: 96642 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp143243qgd; Mon, 3 Apr 2017 08:08:58 -0700 (PDT) X-Received: by 10.99.163.91 with SMTP id v27mr18548988pgn.171.1491232137996; Mon, 03 Apr 2017 08:08:57 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id 5si14581050plx.87.2017.04.03.08.08.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Apr 2017 08:08:57 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-return-78392-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-78392-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=libc-alpha-return-78392-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; q=dns; s= default; b=sB7lCHhtN1lZ/Fivx+Prn4/W9h+FaDXb9o0MHfRfnk4zXYSuToVXH d5Cd42sRK2AeZDtc64PjiCNFTyavGEdWkChqI3n8aSpkCMNSJn44UuNB6cIp3WqG icFCg3uRiw7KXPKoKzcnLkjvBhpDB7NJocvpWbd5mdNMkolKy9zwBU= 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; s=default; bh=hwnMT8GslcOK8FacyDLWgp1t1Tk=; b=YmK8SlapXoVIUDc5zRx1F0AOrcQQ RsIlAi/SZwKL1zNJKUqBKEl6k4WFPebBKguyIBqGR3UzfIl6BHc/2Y5icqcnFr2I rU937qVQnFSbzxyXDscleuC9KnA/hR+2AJYGIS5B6V5qOKdvqTzbv8UbJiNvEkF5 vwEs2D13b+ak7d8= Received: (qmail 116902 invoked by alias); 3 Apr 2017 15:08:45 -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 116831 invoked by uid 89); 3 Apr 2017 15:08:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.3 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=organize, placement X-HELO: mail-qk0-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; bh=0Iq7n1bIvgpm6/y4lg/fj9jFFycP4lBR4rapiG1dVuQ=; b=PGNCEdCT073NFYWo8AHrCtnHved7HcJivd66WRivlrKWvDEvmpB+2sR6Ah77sBqbl4 oejiRo4KgLse7Ii5B+oY7bsfuUe/lzSLwcGlZrU1gM7PGcrYP6mZauHANK+JZKY16W1v MZt8umHo4Eg/IPYa7Z2iIuYciLoxU6oUKKZsF6sJ72HshJ2WemqeL9oflQo2963mNNfb unSRUwidR4pvCbdXkCrXEZknIgSNQEOokpTdaVEfpswJ7UzAxVlB9pN1g2wdmevkrCyo rFStBp6MxFn2RAn/wuqPCvrWxDYFlvvowlO2X69D50UvJsIniiOAmxftOGR1oQwdPhfd 4pyg== X-Gm-Message-State: AFeK/H0CTDpXTwCt8euXsFJCObX7+jM9rFesqJn2rh3zTcIlzCpiISU7pYG0c5ROHU7CKNdx X-Received: by 10.55.54.76 with SMTP id d73mr15686883qka.307.1491232122021; Mon, 03 Apr 2017 08:08:42 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH 1/2] Consolidate pthreadtype.h placement Date: Mon, 3 Apr 2017 12:08:33 -0300 Message-Id: <1491232114-7588-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, 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