aboutsummaryrefslogtreecommitdiff
path: root/tools/objtool/include/objtool/check.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/objtool/include/objtool/check.h')
-rw-r--r--tools/objtool/include/objtool/check.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/objtool/include/objtool/check.h b/tools/objtool/include/objtool/check.h
index fffc8b86f9f3..ab6deaed9777 100644
--- a/tools/objtool/include/objtool/check.h
+++ b/tools/objtool/include/objtool/check.h
@@ -62,10 +62,12 @@ struct instruction {
s8 instr;
struct alt_group *alt_group;
- struct symbol *call_dest;
struct instruction *jump_dest;
struct instruction *first_jump_src;
- struct reloc *jump_table;
+ union {
+ struct symbol *_call_dest;
+ struct reloc *_jump_table;
+ };
struct alternative *alts;
struct symbol *sym;
struct stack_op *stack_ops;