aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include/nolibc (follow)
AgeCommit message (Expand)AuthorFilesLines
2022-10-28tools/nolibc/string: Fix memcmp() implementationRasmus Villemoes1-2/+2
2022-10-28tools/nolibc: Fix missing strlen() definition and infinite loop with gcc-12Willy Tarreau1-5/+8
2022-08-31tools/nolibc: make sys_mmap() automatically use the right __NR_mmap definitionWilly Tarreau1-1/+1
2022-08-31tools/nolibc: fix build warning in sys_mmap() when my_syscall6 is not definedWilly Tarreau1-1/+1
2022-08-31tools/nolibc: make argc 32-bit in riscv startup codeWilly Tarreau1-1/+1
2022-06-20tools/nolibc: add a help target to list supported targetsWilly Tarreau1-0/+17
2022-06-20tools/nolibc: make the default target build the headersWilly Tarreau1-1/+1
2022-06-20tools/nolibc: fix the makefile to also work as "make -C tools ..."Willy Tarreau1-1/+17
2022-06-20tools/nolibc/stdio: Add format attribute to enable printf warningsAlviro Iskandar Setiawan1-2/+2
2022-06-20tools/nolibc/stdlib: Support overflow checking for older compiler versionsAmmar Faizi1-4/+3
2022-04-20tools/nolibc/string: Implement `strdup()` and `strndup()`Ammar Faizi1-0/+32
2022-04-20tools/nolibc/string: Implement `strnlen()`Ammar Faizi1-0/+9
2022-04-20tools/nolibc/stdlib: Implement `malloc()`, `calloc()`, `realloc()` and `free()`Ammar Faizi1-0/+81
2022-04-20tools/nolibc/types: Implement `offsetof()` and `container_of()` macroAmmar Faizi1-0/+11
2022-04-20tools/nolibc/sys: Implement `mmap()` and `munmap()`Ammar Faizi1-0/+62
2022-04-20tools/nolibc: i386: Implement syscall with 6 argumentsAmmar Faizi1-0/+23
2022-04-20tools/nolibc: Remove .global _start from the entry point codeAmmar Faizi6-6/+0
2022-04-20tools/nolibc: Replace `asm` with `__asm__`Ammar Faizi6-198/+198
2022-04-20tools/nolibc: x86-64: Update System V ABI document linkAmmar Faizi1-1/+1
2022-04-20tools/nolibc/stdlib: only reference the external environ when inlinedWilly Tarreau1-7/+15
2022-04-20tools/nolibc/string: do not use __builtin_strlen() at -O0Willy Tarreau1-1/+10
2022-04-20tools/nolibc: add a makefile to install headersWilly Tarreau1-0/+42
2022-04-20tools/nolibc/types: add poll() and waitpid() flag definitionsWilly Tarreau1-0/+10
2022-04-20tools/nolibc/sys: add syscall definition for getppid()Willy Tarreau1-0/+17
2022-04-20tools/nolibc/string: add strcmp() and strncmp()Willy Tarreau1-0/+23
2022-04-20tools/nolibc/stdio: add support for '%p' to vfprintf()Willy Tarreau1-11/+19
2022-04-20tools/nolibc/stdlib: add a simple getenv() implementationWilly Tarreau1-0/+23
2022-04-20tools/nolibc/stdio: make printf(%s) accept NULLWilly Tarreau1-0/+2
2022-04-20tools/nolibc/stdlib: implement abort()Willy Tarreau1-0/+8
2022-04-20tools/nolibc: also mention how to build by just setting the include pathWilly Tarreau1-10/+20
2022-04-20tools/nolibc/time: create time.h with time()Willy Tarreau2-0/+29
2022-04-20tools/nolibc/signal: move raise() to signal.hWilly Tarreau3-7/+23
2022-04-20tools/nolibc/unistd: add usleep()Willy Tarreau1-0/+8
2022-04-20tools/nolibc/unistd: extract msleep(), sleep(), tcsetpgrp() to unistd.hWilly Tarreau3-30/+47
2022-04-20tools/nolibc/errno: extract errno.h from sys.hWilly Tarreau3-16/+29
2022-04-20tools/nolibc/string: export memset() and memmove()Willy Tarreau1-2/+8
2022-04-20tools/nolibc/types: define PATH_MAX and MAXPATHLENWilly Tarreau1-0/+11
2022-04-20tools/nolibc/arch: mark the _start symbol as weakWilly Tarreau6-0/+6
2022-04-20tools/nolibc: move exported functions to their own sectionWilly Tarreau2-2/+2
2022-04-20tools/nolibc/string: add tiny versions of strncat() and strlcat()Willy Tarreau1-0/+41
2022-04-20tools/nolibc/string: add strncpy() and strlcpy()Willy Tarreau1-0/+28
2022-04-20tools/nolibc/string: slightly simplify memmove()Willy Tarreau1-6/+14
2022-04-20tools/nolibc/string: use unidirectional variants for memcpy()Willy Tarreau1-1/+23
2022-04-20tools/nolibc/sys: make getpgrp(), getpid(), gettid() not set errnoWilly Tarreau1-21/+3
2022-04-20tools/nolibc/stdlib: make raise() use the lower level syscalls onlyWilly Tarreau1-1/+1
2022-04-20tools/nolibc/stdlib: avoid a 64-bit shift in u64toh_r()Willy Tarreau1-6/+10
2022-04-20tools/nolibc/sys: make open() take a vararg on the 3rd argumentWilly Tarreau1-3/+15
2022-04-20tools/nolibc/stdio: add perror() to report the errno valueWilly Tarreau1-0/+6
2022-04-20tools/nolibc/types: define EXIT_SUCCESS and EXIT_FAILUREWilly Tarreau1-0/+3
2022-04-20tools/nolibc/stdio: add a minimal [vf]printf() implementationWilly Tarreau1-0/+128