summaryrefslogtreecommitdiff
path: root/tools/objtool/include/objtool/check.h
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@redhat.com>2020-12-17 15:02:42 -0600
committerJosh Poimboeuf <jpoimboe@redhat.com>2021-01-14 09:53:42 -0600
commitab4e0744e99b87e1a223e89fc3c9ae44f727c9a6 (patch)
tree470912764110ac2a157be0e8a5a79832b62eeaad /tools/objtool/include/objtool/check.h
parent5ed934e57e712b676ca62e1904ad672a9fa1505a (diff)
objtool: Refactor ORC section generation
Decouple ORC entries from instructions. This simplifies the control/data flow, and is going to make it easier to support alternative instructions which change the stack layout. Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Diffstat (limited to 'tools/objtool/include/objtool/check.h')
-rw-r--r--tools/objtool/include/objtool/check.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/objtool/include/objtool/check.h b/tools/objtool/include/objtool/check.h
index bba10968eac0..df1e3e8ed204 100644
--- a/tools/objtool/include/objtool/check.h
+++ b/tools/objtool/include/objtool/check.h
@@ -43,9 +43,6 @@ struct instruction {
struct symbol *func;
struct list_head stack_ops;
struct cfi_state cfi;
-#ifdef INSN_USE_ORC
- struct orc_entry orc;
-#endif
};
static inline bool is_static_jump(struct instruction *insn)