Messages in this thread | | | From | Vincent Dagonneau <> | Subject | [PATCH v4 0/4] tools/nolibc: Adding stdint.h, more integer types and tests | Date | Mon, 20 Feb 2023 15:20:06 -0500 |
| |
Hi,
This is version 5 of the patch to add stdint.h to nolibc. Previous versions of this patch are available here:
* v4: https://lore.kernel.org/all/20230209024044.13127-1-v@vda.io/ * v3: https://lore.kernel.org/all/20230206013248.471664-1-v@vda.io/ * v2: https://lore.kernel.org/all/20230202201101.43160-1-v@vda.io/ * v1: https://lore.kernel.org/all/20230202160236.25342-1-v@vda.io/
This version includes the work done by Willy (see https://lore.kernel.org/all/20230219185133.14576-1-w@1wt.eu/) on using __LONG_MAX__ to calculate the max size of ssize_t, size_t, intptr_t, uintptr_t and ptrdiff_t.
It also includes the '*fast*' types, although I have never seen them used in the wild.
Thank you Willy for the review and the guidance! Vincent.
Vincent Dagonneau (4): tools/nolibc: Adding stdint.h tools/nolibc: Adding integer types and integer limit macros tools/nolibc: Enlarging column width of tests tools/nolibc: Adds tests for the integer limits in stdint.h
tools/include/nolibc/Makefile | 4 +- tools/include/nolibc/std.h | 15 +- tools/include/nolibc/stdint.h | 84 +++++++++++ tools/testing/selftests/nolibc/nolibc-test.c | 139 ++++++++++++------- 4 files changed, 177 insertions(+), 65 deletions(-) create mode 100644 tools/include/nolibc/stdint.h
-- 2.39.1
| |