summaryrefslogtreecommitdiff
path: root/tools/objtool/tests/generic/fixtures/init_reference.c
AgeCommit message (Collapse)Author
2026-09-21objtool/klp: Add test for rejecting references to init code/dataPuranjay Mohan
Init code and data are freed once boot finishes, so a klp relocation against them can never resolve. Signed-off-by: Puranjay Mohan <puranjay@kernel.org> Signed-off-by: Song Liu <song@kernel.org> Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Assisted-by: Claude:claude-opus-5 Link: https://patch.msgid.link/20260916184351.2720310-24-song@kernel.org