mirror_ubuntu-kernels/tools/testing/selftests/nolibc
Thomas Weißschuh 544102458a tools/nolibc: mips: add support for PIC
MIPS requires some extra instructions to set up the $gp register for the
with a pointer to the global data area.

This isn't needed for non-PIC builds, but this patch enables the code
unconditionally to prevent bitrot.

Also enable PIC in one of the test configurations for ongoing
validation.

Link: https://lore.kernel.org/r/20231108-nolibc-pic-v2-1-4fb0d6284757@weissschuh.net
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
2023-12-11 22:38:30 +01:00
..
.gitignore selftests/nolibc: add script to run testsuite 2023-12-11 22:38:17 +01:00
Makefile tools/nolibc: mips: add support for PIC 2023-12-11 22:38:30 +01:00
nolibc-test-linkage.c selftests/nolibc: add tests for multi-object linkage 2023-10-12 21:14:20 +02:00
nolibc-test-linkage.h selftests/nolibc: add tests for multi-object linkage 2023-10-12 21:14:20 +02:00
nolibc-test.c selftests/nolibc: fix testcase status alignment 2023-12-11 22:38:26 +01:00
run-tests.sh selftests/nolibc: run-tests.sh: enable testing via qemu-user 2023-12-11 22:38:29 +01:00