aboutsummaryrefslogtreecommitdiff
path: root/include/elf/arm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/elf/arm.h')
-rw-r--r--include/elf/arm.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/elf/arm.h b/include/elf/arm.h
index 18aa559..e3df27f 100644
--- a/include/elf/arm.h
+++ b/include/elf/arm.h
@@ -323,4 +323,13 @@ enum
#define ELF_STRING_ARM_unwind_once ".gnu.linkonce.armexidx."
#define ELF_STRING_ARM_unwind_info_once ".gnu.linkonce.armextab."
+enum arm_st_branch_type {
+ ST_BRANCH_TO_ARM,
+ ST_BRANCH_TO_THUMB,
+ ST_BRANCH_LONG
+};
+
+#define ARM_SYM_BRANCH_TYPE(SYM) \
+ ((enum arm_st_branch_type) (SYM)->st_target_internal)
+
#endif /* _ELF_ARM_H */