summaryrefslogtreecommitdiff
path: root/tools/objtool/cfi.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/objtool/cfi.h')
-rw-r--r--tools/objtool/cfi.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/objtool/cfi.h b/tools/objtool/cfi.h
index 6faf97666d6b..c7c59c6a44ee 100644
--- a/tools/objtool/cfi.h
+++ b/tools/objtool/cfi.h
@@ -19,8 +19,20 @@ struct cfi_reg {
};
struct cfi_init_state {
+ struct cfi_reg regs[CFI_NUM_REGS];
struct cfi_reg cfa;
+};
+
+struct cfi_state {
struct cfi_reg regs[CFI_NUM_REGS];
+ struct cfi_reg vals[CFI_NUM_REGS];
+ struct cfi_reg cfa;
+ int stack_size;
+ int drap_reg, drap_offset;
+ unsigned char type;
+ bool bp_scratch;
+ bool drap;
+ bool end;
};
#endif /* _OBJTOOL_CFI_H */