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 <[email protected]>
---
 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


_______________________________________________
Libunwind-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to