]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: vDSO: vdso_standalone_test_x86: Switch to nolibc
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Wed, 26 Feb 2025 11:44:55 +0000 (12:44 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 3 Mar 2025 19:00:13 +0000 (20:00 +0100)
commit8770a9183fe18442c7cfbb56bb7e006462775a91
tree8028ced28fd13b26f05c783eef0e2b8c4547f252
parent4f65df6a58b3de5132f978305c5f807ec3803943
selftests: vDSO: vdso_standalone_test_x86: Switch to nolibc

vdso_standalone_test_x86 provides its own ASM syscall wrappers and
_start() implementation. The in-tree nolibc library already provides
this functionality for multiple architectures. By making use of nolibc,
the standalone testcase can be built from the exact same codebase as the
non-standalone version.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
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-16-28e14e031ed8@linutronix.de
tools/testing/selftests/vDSO/Makefile
tools/testing/selftests/vDSO/vdso_standalone_test_x86.c