x86,objtool: Separate unret validation from unwind hints
The ENTRY unwind hint type is serving double duty as both an empty unwind hint and an unret validation annotation. Unret validation is unrelated to unwinding. Separate it out into its own annotation. Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/ff7448d492ea21b86d8a90264b105fbd0d751077.1677683419.git.jpoimboe@kernel.org
This commit is contained in:
committed by
Peter Zijlstra
parent
f902cfdd46
commit
4708ea14be
@@ -42,8 +42,7 @@ struct unwind_hint {
|
||||
#define UNWIND_HINT_TYPE_REGS_PARTIAL 2
|
||||
/* The below hint types don't have corresponding ORC types */
|
||||
#define UNWIND_HINT_TYPE_FUNC 3
|
||||
#define UNWIND_HINT_TYPE_ENTRY 4
|
||||
#define UNWIND_HINT_TYPE_SAVE 5
|
||||
#define UNWIND_HINT_TYPE_RESTORE 6
|
||||
#define UNWIND_HINT_TYPE_SAVE 4
|
||||
#define UNWIND_HINT_TYPE_RESTORE 5
|
||||
|
||||
#endif /* _LINUX_OBJTOOL_TYPES_H */
|
||||
|
||||
Reference in New Issue
Block a user