1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 #ifndef _OBJTOOL_ORC_H 3 #define _OBJTOOL_ORC_H 4 5 #include <objtool/check.h> 6 7 int init_orc_entry(struct orc_entry *orc, struct cfi_state *cfi, struct instruction *insn); 8 void orc_print_dump(struct elf *dummy_elf, struct orc_entry *orc, int i); 9 int write_orc_entry(struct elf *elf, struct section *orc_sec, 10 struct section *ip_sec, unsigned int idx, 11 struct section *insn_sec, unsigned long insn_off, 12 struct orc_entry *o); 13 14 #endif /* _OBJTOOL_ORC_H */ 15