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: 345975 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 206C31409BB for ; Tue, 6 May 2014 08:56:44 +1000 (EST) 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=aWnNT5tASXNqtOj5UZX5LdxuvYeF5pee1tfykffS/EY3Uy Ezx3wiGuaRLfjggWpF5CpSZQMOpExFGydFReXA5jTTgOKKWjmzjoh+Wpy4fE3v1S zQd9TEDxx3e8jEBj1nRAhhFOpC6URoPzyoTuWPKZXOBuvEyQnANAL9JNATLZg= 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=B0H+eTUy+1cFDwARNAoe gCtOseHyQcDXM9CM2hSZh1JbROQ3xOUYaOUT35HAqPOC0HolbaXZFAEpP9ApkMSF 41ay8Fw9O/zcJ02qekcO+8U7TcrnJw4rvIdGph2ZcL6CM7Ao3k/dz+haAuG/FbNf 4ZS3KXGh3Ih3rJhklotrqHI= 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 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