]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools/nolibc: add abs() and friends
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Mon, 28 Apr 2025 12:40:07 +0000 (14:40 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Wed, 21 May 2025 13:32:05 +0000 (15:32 +0200)
commitbf5e8a78beded3503bbcfe86b3094a42ce492556
treea98810f080a3b239a256fefdfa7bc236f4a1b7d5
parent801f020b5f3d6159826ca38f63cd55e5536b35dd
tools/nolibc: add abs() and friends

This is used in various selftests and will be handy when integrating
those with nolibc.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20250428-nolibc-misc-v2-6-3c043eeab06c@linutronix.de
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
tools/include/nolibc/Makefile
tools/include/nolibc/math.h [new file with mode: 0644]
tools/include/nolibc/nolibc.h
tools/include/nolibc/stdlib.h
tools/testing/selftests/nolibc/nolibc-test.c