diff mbox

[1/5] Move arm_exidx_entry and arm_exidx_table structs from ex_tables.h into libunwind-arm.h.

Message ID 1312373525-20741-2-git-send-email-ken.werner@linaro.org
State Accepted
Commit 264b101905c53993fd1294cca821cd01fb17e1c8
Headers show

Commit Message

Ken Werner Aug. 3, 2011, 12:12 p.m. UTC
Signed-off-by: Ken Werner <ken.werner@linaro.org>
---
 include/libunwind-arm.h      |   13 +++++++++++++
 include/tdep-arm/ex_tables.h |   13 -------------
 2 files changed, 13 insertions(+), 13 deletions(-)
diff mbox

Patch

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,