summaryrefslogtreecommitdiff
path: root/tools/objtool/tests/generic/test-special-section-shared.sh
AgeCommit message (Collapse)Author
2026-09-21objtool/klp: Add test for selective special section extractionPuranjay Mohan
Two functions contribute entries to one special section but only one is patched. Cloning the neighbouring entry drags in whatever it points at, which is how a livepatch ends up holding relocations against unrelated code. 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-19-song@kernel.org