Re: [PATCH v2 2/3] vmlinux: Avoid weak reference to notes section
From: Arnd Bergmann
Date: Tue Apr 09 2024 - 11:10:59 EST
On Tue, Apr 9, 2024, at 17:01, Ard Biesheuvel wrote:
> From: Ard Biesheuvel <ardb@xxxxxxxxxx>
>
> Weak references are references that are permitted to remain unsatisfied
> in the final link. This means they cannot be implemented using place
> relative relocations, resulting in GOT entries when using position
> independent code generation.
>
> The notes section should always exist, so the weak annotations can be
> omitted.
>
> Signed-off-by: Ard Biesheuvel <ardb@xxxxxxxxxx>
Acked-by: Arnd Bergmann <arnd@xxxxxxxx>