Message ID | 1299084010-8762-3-git-send-email-ken.werner@linaro.org |
---|---|
State | Accepted |
Commit | ec633a1911e365ba6016fa9fcbd81cad72f7afdb |
Headers | show |
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)
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> --- include/tdep-arm/libunwind_i.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)