vmlinux: Avoid weak reference to notes section
authorArd Biesheuvel <ardb@kernel.org>
Mon, 15 Apr 2024 16:20:44 +0000 (18:20 +0200)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 2 May 2024 10:48:26 +0000 (19:48 +0900)
commit377d9095117c084b835e38c020faf5a78e386f01
treefd00cd85bef376db0aecfe7b0a9f2796ca21e8ab
parent951bcae6c5a0bfaa55b27c5f16178204988f0379
vmlinux: Avoid weak reference to notes section

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.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
kernel/ksysfs.c
lib/buildid.c