diff options
author | Ken Werner <ken.werner@linaro.org> | 2011-03-02 17:40:07 +0100 |
---|---|---|
committer | Arun Sharma <asharma@fb.com> | 2011-03-07 21:24:51 -0800 |
commit | ec633a1911e365ba6016fa9fcbd81cad72f7afdb (patch) | |
tree | 9e606f2bf88fd1fbf196275a8563adb3cee3fea3 /include/tdep-arm | |
parent | c2cc122a62e3188ebb638119238524c3f992c0c4 (diff) | |
download | libunwind-ec633a1911e365ba6016fa9fcbd81cad72f7afdb.tar.gz |
Use UNW_OBJ instead of UNWI_ARCH_OBJ to rename unwi_unwind_method on ARM.
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 <ken.werner@linaro.org>
Diffstat (limited to 'include/tdep-arm')
-rw-r--r-- | 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 bae9c4de..5f02ed07 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) |