libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libunwind-devel] [PATCH 2/5] Use UNW_OBJ instead of UNWI_ARCH_OBJ to re


From: Ken Werner
Subject: [Libunwind-devel] [PATCH 2/5] Use UNW_OBJ instead of UNWI_ARCH_OBJ to rename unwi_unwind_method on ARM.
Date: Wed, 2 Mar 2011 17:40:07 +0100

This results in different unwi_unwind_method symbol names for the local and
generic versions. It allows to statically link against both libraries.

Signed-off-by: Ken Werner <address@hidden>
---
 include/tdep-arm/libunwind_i.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/tdep-arm/libunwind_i.h b/include/tdep-arm/libunwind_i.h
index bae9c4d..5f02ed0 100644
--- a/include/tdep-arm/libunwind_i.h
+++ b/include/tdep-arm/libunwind_i.h
@@ -260,7 +260,7 @@ extern int tdep_access_fpreg (struct cursor *c, 
unw_regnum_t reg,
 #define UNW_ARM_METHOD_DWARF        0x01
 #define UNW_ARM_METHOD_FRAME        0x02
 
-#define unwi_unwind_method   UNWI_ARCH_OBJ(unwind_method)
+#define unwi_unwind_method   UNW_OBJ(unwind_method)
 extern int unwi_unwind_method;
 
 #define UNW_TRY_METHOD(x)   (unwi_unwind_method & x)
-- 
1.7.4.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]