From patchwork Mon May 5 22:56:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roland McGrath X-Patchwork-Id: 814 Return-Path: X-Original-To: siddhesh@wilcox.dreamhost.com Delivered-To: siddhesh@wilcox.dreamhost.com Received: from homiemail-mx21.g.dreamhost.com (peon2454.g.dreamhost.com [208.113.200.127]) by wilcox.dreamhost.com (Postfix) with ESMTP id 4B311360073 for ; Mon, 5 May 2014 15:56:42 -0700 (PDT) Received: by homiemail-mx21.g.dreamhost.com (Postfix, from userid 14307373) id B197B1665125; Mon, 5 May 2014 15:56:41 -0700 (PDT) X-Original-To: glibc@patchwork.siddhesh.in Delivered-To: x14307373@homiemail-mx21.g.dreamhost.com 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 homiemail-mx21.g.dreamhost.com (Postfix) with ESMTPS id 098091537275 for ; Mon, 5 May 2014 15:56:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:content-type :content-transfer-encoding:from:to:subject:message-id:date; q= dns; s=default; b=EM/HdcNO9zLZ1wTuWFEJfxyI5tbwegnt5dMFVl7PwOSNRh AGsMgvvpRGPqMw404yOTFLgsjR8vGuUDwts8P/hxBe8IZNbVupT2GN6qcX0bO8ch 7MP6vKSU1AKqe2pDBaNuUqp+MqxpzhnGVG+v8L3C/T+fqniC7dCgTU1jQRBNQ= 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:mime-version:content-type :content-transfer-encoding:from:to:subject:message-id:date; s= default; bh=x9WYo54RVxaV/dg94Yenm1hkf28=; b=BoborZIdxDCh35SPI6Kk ebRoOVL1LpWNd2Iq9LMIa1mL2JKZBGR4u+vftdtGkmVJ6GewHx4P89jfOmOgjycv 7NscYkBzjhTDan8HnUuGw/9vXfnNgjLOpJv+tlaNNhRpZ1JFoa7KfUrneGhbQHoV Q41bvWQWpT/icCdV0m32NU8= Received: (qmail 8664 invoked by alias); 5 May 2014 22:56:37 -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 8653 invoked by uid 89); 5 May 2014 22:56:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: topped-with-meat.com MIME-Version: 1.0 From: Roland McGrath To: "GNU C. Library" Subject: [PATCH roland/arm-unwind-header] Move ARM internal unwind.h header to the right sysdeps directory. Message-Id: <20140505225633.E56292C39D2@topped-with-meat.com> Date: Mon, 5 May 2014 15:56:33 -0700 (PDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=J405smXS c=1 sm=1 tr=0 a=WkljmVdYkabdwxfqvArNOQ==:117 a=14OXPxybAAAA:8 a=J6pf2CEq8vIA:10 a=Z6MIti7PxpgA:10 a=kj9zAlcOel0A:10 a=hOe2yjtxAAAA:8 a=vQaP_LDnAU-6TRup0YoA:9 a=CjuIK1q_8ugA:10 X-DH-Original-To: glibc@patchwork.siddhesh.in This is a trivial file renaming, so I'm not including a real patch, just the 'git apply' flavored one. unwind.h contains nothing actually specific to Linux, let alone to NPTL. It's required by sysdeps/arm/backtrace.c, so it should be in a sysdeps location that is accessible to all configurations building that file. The file itself appears to be a quite old copy of the file from GCC (which has since changed its name in GCC sources), complete with wrong copyright header (which has an exception and so should be legally adequate, but probably not what we'd do today). AFAICT much of what's there is not actually used anywhere in libc, so it is probably better to prune the file down rather than to try to keep it in sync with the modern GCC file. (In particular the _Unwind_decode_target2 function is troubling, because it uses #ifdef deeply wrongly for code living in libc. But that function is wholly unused.) But that's cleanup for another day. OK? Thanks, Roland * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ... * sysdeps/arm/unwind.h: ... here. diff --git a/sysdeps/unix/sysv/linux/arm/nptl/unwind.h b/sysdeps/arm/unwind.h similarity index 100% rename from sysdeps/unix/sysv/linux/arm/nptl/unwind.h rename to sysdeps/arm/unwind.h