summaryrefslogtreecommitdiff
path: root/tools/objtool/include/objtool/builtin.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2022-09-15 13:11:10 +0200
committerPeter Zijlstra <peterz@infradead.org>2022-10-17 16:41:07 +0200
commit0c0a6d8934e2081df93ba0bfc0cf615cc9c06988 (patch)
tree74d3a5efbd242ae94825fcd5efff31c35b3464bb /tools/objtool/include/objtool/builtin.h
parent00abd38408127a57861698a8bffba65849de6bbd (diff)
objtool: Add --hacks=skylake
Make the call/func sections selectable via the --hacks option. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20220915111146.120821440@infradead.org
Diffstat (limited to 'tools/objtool/include/objtool/builtin.h')
-rw-r--r--tools/objtool/include/objtool/builtin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/objtool/include/objtool/builtin.h b/tools/objtool/include/objtool/builtin.h
index 42a52f1a0add..22092a9f3cf6 100644
--- a/tools/objtool/include/objtool/builtin.h
+++ b/tools/objtool/include/objtool/builtin.h
@@ -14,6 +14,7 @@ struct opts {
bool dump_orc;
bool hack_jump_label;
bool hack_noinstr;
+ bool hack_skylake;
bool ibt;
bool mcount;
bool noinstr;