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

From: Linus Torvalds

Date: Wed Dec 03 2025 - 13:41:51 EST


On Wed, 3 Dec 2025 at 09:46, Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
>
> So that mergeable thing is the only way to convince the toolchains to
> allow setting the section entsize

Ugh. What a horrid reason. That *should* be trivially done by just
having a linker script setting, but if one doesn't exist...

What are the actual entry sizes, though? Because maybe we could just
use alignment instead - which is trivially settable in the linker
script.

Linus