tools/nolibc: move MIPS ABI validation into arch-mips.h
authorThomas Weißschuh <linux@weissschuh.net>
Fri, 20 Oct 2023 07:30:33 +0000 (09:30 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Mon, 11 Dec 2023 21:38:21 +0000 (22:38 +0100)
commitaa68a5a83a0acc4c1babcb4f8be49261514ab65c
treebf5644d8d314c8ce0fa8637f7486c417b4f6f6bd
parent48946c5aa7a848c7dfc2151267af92956f492f58
tools/nolibc: move MIPS ABI validation into arch-mips.h

When installing nolibc to a sysroot arch.h is not used so its ABI check
is bypassed. This makes is possible to compile nolibc with a non O32 ABI
which may build but can not run.

Move the check into arch-mips.h so it will always be evaluated.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
tools/include/nolibc/arch-mips.h
tools/include/nolibc/arch.h