[PATCH v4 06/22] arm64: vdso: Discard .discard.* sections

Song Liu song at kernel.org
Tue Aug 11 16:30:43 PDT 2026


On Sat, Aug 8, 2026 at 4:18 PM Josh Poimboeuf <jpoimboe at kernel.org> wrote:
>
> In preparation for enabling objtool on arm64, add .discard.* to the
> vDSO's /DISCARD/ section so objtool annotations don't cause orphan
> section warnings or leak into the final vDSO binary.
>
> Signed-off-by: Josh Poimboeuf <jpoimboe at kernel.org>

Acked-by: Song Liu <song at kernel.org>



More information about the linux-arm-kernel mailing list