Re: [tip: objtool/urgent] objtool: Consolidate annotation macros

From: Linus Torvalds

Date: Wed Dec 03 2025 - 12:45:04 EST


On Wed, 3 Dec 2025 at 09:21, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> It *feels* like this should just all be
>
> 911: .pushsection .discard.annotate_insn ; .long 911b - .; .long 1; .popsection
> jmp __x86_return_thunk
>
> instead.

Actually, I think it should just be

911: jmp __x86_return_thunk
.pushsection .discard.annotate_insn ; .long 911b - . , 1; .popsection

but again: it's entirely possible that there's something I am missing.

Linus