mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-25 03:22:39 +00:00
tools/nolibc: add limits.h shim header
limits.h is a widely used standard header. Missing it from nolibc requires adoption effort to port applications. Add a shim header which includes the global nolibc.h header. It makes all nolibc symbols available. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Willy Tarreau <w@1wt.eu> Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com> Acked-by: Willy Tarreau <w@1wt.eu> Acked-by: Shuah Khan <skhan@linuxfoundation.org> Link: https://lore.kernel.org/all/20250226-parse_vdso-nolibc-v2-9-28e14e031ed8@linutronix.de
This commit is contained in:
committed by
Thomas Gleixner
parent
1a59f5d315
commit
5caaa0aa7c
@@ -30,6 +30,7 @@ all_files := \
|
||||
crt.h \
|
||||
ctype.h \
|
||||
errno.h \
|
||||
limits.h \
|
||||
nolibc.h \
|
||||
signal.h \
|
||||
stackprotector.h \
|
||||
|
||||
7
tools/include/nolibc/limits.h
Normal file
7
tools/include/nolibc/limits.h
Normal file
@@ -0,0 +1,7 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1 OR MIT */
|
||||
/*
|
||||
* Shim limits.h header for NOLIBC.
|
||||
* Copyright (C) 2025 Thomas Weißschuh <thomas.weissschuh@linutronix.de>
|
||||
*/
|
||||
|
||||
#include "nolibc.h"
|
||||
Reference in New Issue
Block a user