linux/tools/include/nolibc
Willy Tarreau 96980b833a tools/nolibc/string: do not use __builtin_strlen() at -O0
clang wants to use strlen() for __builtin_strlen() at -O0. We don't
really care about -O0 but it at least ought to build, so let's make
sure we don't choke on this, by dropping the optimizationn for
constant strings in this case.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
2022-04-20 17:05:46 -07:00
..
arch-aarch64.h tools/nolibc/arch: mark the _start symbol as weak 2022-04-20 17:05:45 -07:00
arch-arm.h tools/nolibc/arch: mark the _start symbol as weak 2022-04-20 17:05:45 -07:00
arch-i386.h tools/nolibc/arch: mark the _start symbol as weak 2022-04-20 17:05:45 -07:00
arch-mips.h tools/nolibc/arch: mark the _start symbol as weak 2022-04-20 17:05:45 -07:00
arch-riscv.h tools/nolibc/arch: mark the _start symbol as weak 2022-04-20 17:05:45 -07:00
arch-x86_64.h tools/nolibc/arch: mark the _start symbol as weak 2022-04-20 17:05:45 -07:00
arch.h tools/nolibc/arch: split arch-specific code into individual files 2022-04-20 17:05:43 -07:00
ctype.h tools/nolibc/ctype: add the missing is* functions 2022-04-20 17:05:43 -07:00
errno.h tools/nolibc/errno: extract errno.h from sys.h 2022-04-20 17:05:45 -07:00
Makefile tools/nolibc: add a makefile to install headers 2022-04-20 17:05:46 -07:00
nolibc.h tools/nolibc: also mention how to build by just setting the include path 2022-04-20 17:05:45 -07:00
signal.h tools/nolibc/signal: move raise() to signal.h 2022-04-20 17:05:45 -07:00
std.h tools/nolibc/std: move the standard type definitions to std.h 2022-04-20 17:05:33 -07:00
stdio.h tools/nolibc/stdio: add support for '%p' to vfprintf() 2022-04-20 17:05:45 -07:00
stdlib.h tools/nolibc/stdlib: add a simple getenv() implementation 2022-04-20 17:05:45 -07:00
string.h tools/nolibc/string: do not use __builtin_strlen() at -O0 2022-04-20 17:05:46 -07:00
sys.h tools/nolibc/sys: add syscall definition for getppid() 2022-04-20 17:05:45 -07:00
time.h tools/nolibc/time: create time.h with time() 2022-04-20 17:05:45 -07:00
types.h tools/nolibc/types: add poll() and waitpid() flag definitions 2022-04-20 17:05:45 -07:00
unistd.h tools/nolibc/unistd: add usleep() 2022-04-20 17:05:45 -07:00