]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
elf, uapi: Add type ElfXX_Versym
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Wed, 26 Feb 2025 11:44:44 +0000 (12:44 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 3 Mar 2025 19:00:11 +0000 (20:00 +0100)
commit2c86f604f85def1be0b7889c18e055ed63591018
treefea5ae84f2b42d54f19a8defb292e59d783f7c5f
parent049d19bb3807e10902d41125c9d511025389718f
elf, uapi: Add type ElfXX_Versym

The type is used by tools/testing/selftests/vDSO/parse_vdso.c.

To be able to build the vDSO selftests without a libc dependency,
add the type to the kernels own UAPI headers. As documented by elf(5).

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Kees Cook <kees@kernel.org>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/all/20250226-parse_vdso-nolibc-v2-5-28e14e031ed8@linutronix.de
include/uapi/linux/elf.h