]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/asm: Remove ANNOTATE_DATA_SPECIAL usage
authorJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 2 Dec 2025 17:59:37 +0000 (09:59 -0800)
committerIngo Molnar <mingo@kernel.org>
Wed, 3 Dec 2025 15:53:19 +0000 (16:53 +0100)
commitf387d0e1027f2d13cbfc1305b54198af701ede19
tree17bf673bed85feffe78fd2ce92fc5ab044c17360
parenta818f28f017b23cfe830dd82e89b5aa6b0fea8e5
x86/asm: Remove ANNOTATE_DATA_SPECIAL usage

Instead of manually annotating each __ex_table entry, just make the
section mergeable and store the entry size in the ELF section header.

Either way works for objtool create_fake_symbols(), this way produces
cleaner code generation.

Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://patch.msgid.link/b858cb7891c1ba0080e22a9c32595e6c302435e2.1764694625.git.jpoimboe@kernel.org
arch/um/include/asm/Kbuild
arch/um/include/shared/common-offsets.h
arch/x86/include/asm/asm.h
arch/x86/kernel/asm-offsets.c
arch/x86/um/shared/sysdep/kernel-offsets.h
kernel/bounds.c
scripts/mod/devicetable-offsets.c