Files
Centos-kernel-stream-9/tools/objtool
Rado Vrbovsky 4f1c0ff5f1 objtool: Fix standalone --hacks=jump_label
JIRA: https://issues.redhat.com/browse/RHEL-114923

commit be8374a5ba7cbab6b97df94b4ffe0b92f5c8a6d2
Author: Dylan Hatch <dylanbhatch@google.com>
Date: Tue, 23 Sep 2025 00:49:41 +0000

	The objtool command line 'objtool --hacks=jump_label foo.o' on its own
	should be expected to rewrite jump labels to NOPs. This means the
	add_special_section_alts() code path needs to run when only this option
	is provided.

	This is mainly relevant in certain debugging situations, but could
	potentially also fix kernel builds in which objtool is run with
	--hacks=jump_label but without --orc, --stackval, --uaccess, or
	--hacks=noinstr.

	Fixes: de6fbcedf5ab ("objtool: Read special sections with alts only when specific options are selected")
	Signed-off-by: Dylan Hatch <dylanbhatch@google.com>
	Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>

Signed-off-by: Rado Vrbovsky <rvrbovsk@redhat.com>
2026-01-07 23:14:46 +01:00
..
2025-11-04 20:01:04 -05:00
2025-11-04 20:01:04 -05:00
2026-01-07 23:14:46 +01:00
2023-10-22 20:19:51 -04:00