mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-26 09:07:38 +01:00
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>
This commit is contained in:
parent
c2cc122a62
commit
ec633a1911
1 changed files with 1 additions and 1 deletions
|
@ -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_DWARF 0x01
|
||||||
#define UNW_ARM_METHOD_FRAME 0x02
|
#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;
|
extern int unwi_unwind_method;
|
||||||
|
|
||||||
#define UNW_TRY_METHOD(x) (unwi_unwind_method & x)
|
#define UNW_TRY_METHOD(x) (unwi_unwind_method & x)
|
||||||
|
|
Loading…
Reference in a new issue