summaryrefslogtreecommitdiff
path: root/tools/objtool/include/objtool/objtool.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/objtool.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/objtool.h')
-rw-r--r--tools/objtool/include/objtool/objtool.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/objtool/include/objtool/objtool.h b/tools/objtool/include/objtool/objtool.h
index 32f4cd1da9fa..e114642efb65 100644
--- a/tools/objtool/include/objtool/objtool.h
+++ b/tools/objtool/include/objtool/objtool.h
@@ -26,7 +26,6 @@ struct objtool_file *objtool_open_read(const char *_objname);
int check(struct objtool_file *file);
int orc_dump(const char *objname);
-int create_orc(struct objtool_file *file);
-int create_orc_sections(struct objtool_file *file);
+int orc_create(struct objtool_file *file);
#endif /* _OBJTOOL_H */