objtool: Track init section
authorPeter Zijlstra <peterz@infradead.org>
Thu, 15 Sep 2022 11:11:08 +0000 (13:11 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 17 Oct 2022 14:41:07 +0000 (16:41 +0200)
commit6644ee846cb983437063da8fd24b7cae671fd019
tree50b0daea032de24114f31f76fdf4555d7b0e8f77
parent61c6065ef7ec0447a280179d04b2d81c80c2f479
objtool: Track init section

For future usage of .init.text exclusion track the init section in the
instruction decoder and use the result in retpoline validation.

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/20220915111145.910334431@infradead.org
tools/objtool/check.c
tools/objtool/include/objtool/elf.h