From patchwork Wed Aug 3 12:12:01 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ken Werner X-Patchwork-Id: 3238 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 847BA23F3D for ; Wed, 3 Aug 2011 12:12:15 +0000 (UTC) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.216.173]) by fiordland.canonical.com (Postfix) with ESMTP id 4D176A182F9 for ; Wed, 3 Aug 2011 12:12:15 +0000 (UTC) Received: by qyk10 with SMTP id 10so2694422qyk.11 for ; Wed, 03 Aug 2011 05:12:14 -0700 (PDT) Received: by 10.229.231.66 with SMTP id jp2mr1550567qcb.83.1312373534771; Wed, 03 Aug 2011 05:12:14 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.6.73 with SMTP id 9cs156124qcy; Wed, 3 Aug 2011 05:12:14 -0700 (PDT) Received: by 10.217.7.73 with SMTP id z51mr2857553wes.25.1312373533866; Wed, 03 Aug 2011 05:12:13 -0700 (PDT) Received: from mtagate1.uk.ibm.com (mtagate1.uk.ibm.com [194.196.100.161]) by mx.google.com with ESMTPS id l37si1441706weq.108.2011.08.03.05.12.13 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 03 Aug 2011 05:12:13 -0700 (PDT) Received-SPF: neutral (google.com: 194.196.100.161 is neither permitted nor denied by best guess record for domain of ken.werner@linaro.org) client-ip=194.196.100.161; Authentication-Results: mx.google.com; spf=neutral (google.com: 194.196.100.161 is neither permitted nor denied by best guess record for domain of ken.werner@linaro.org) smtp.mail=ken.werner@linaro.org Received: from d06nrmr1707.portsmouth.uk.ibm.com (d06nrmr1707.portsmouth.uk.ibm.com [9.149.39.225]) by mtagate1.uk.ibm.com (8.13.1/8.13.1) with ESMTP id p73CC78e006678 for ; Wed, 3 Aug 2011 12:12:07 GMT Received: from d06av05.portsmouth.uk.ibm.com (d06av05.portsmouth.uk.ibm.com [9.149.37.229]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p73CC6At1990734 for ; Wed, 3 Aug 2011 13:12:06 +0100 Received: from d06av05.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p73CC6Cp012129 for ; Wed, 3 Aug 2011 06:12:06 -0600 Received: from leonard.boeblingen.de.ibm.com (dyn-9-152-224-36.boeblingen.de.ibm.com [9.152.224.36]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id p73CC6Bs012117; Wed, 3 Aug 2011 06:12:06 -0600 From: Ken Werner To: libunwind-devel@nongnu.org Subject: [PATCH 1/5] Move arm_exidx_entry and arm_exidx_table structs from ex_tables.h into libunwind-arm.h. Date: Wed, 3 Aug 2011 14:12:01 +0200 Message-Id: <1312373525-20741-2-git-send-email-ken.werner@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1312373525-20741-1-git-send-email-ken.werner@linaro.org> References: <1312373525-20741-1-git-send-email-ken.werner@linaro.org> Signed-off-by: Ken Werner --- include/libunwind-arm.h | 13 +++++++++++++ include/tdep-arm/ex_tables.h | 13 ------------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/include/libunwind-arm.h b/include/libunwind-arm.h index 492331e..0878771 100644 --- a/include/libunwind-arm.h +++ b/include/libunwind-arm.h @@ -280,6 +280,19 @@ typedef ucontext_t unw_tdep_context_t; #include "libunwind-dynamic.h" +struct arm_exidx_entry { + uint32_t addr; + uint32_t data; +}; + +struct arm_exidx_table { + const char *name; + struct arm_exidx_entry *start; + struct arm_exidx_entry *end; + void *start_addr; + void *end_addr; +}; + typedef struct { /* no arm-specific auxiliary proc-info */ diff --git a/include/tdep-arm/ex_tables.h b/include/tdep-arm/ex_tables.h index b664995..d898619 100644 --- a/include/tdep-arm/ex_tables.h +++ b/include/tdep-arm/ex_tables.h @@ -25,19 +25,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #ifndef ARM_EX_TABLES_H #define ARM_EX_TABLES_H -struct arm_exidx_entry { - uint32_t addr; - uint32_t data; -}; - -struct arm_exidx_table { - const char *name; - struct arm_exidx_entry *start; - struct arm_exidx_entry *end; - void *start_addr; - void *end_addr; -}; - typedef enum arm_exbuf_cmd { ARM_EXIDX_CMD_FINISH, ARM_EXIDX_CMD_DATA_PUSH,