diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2026-04-18 13:31:54 +0300 |
|---|---|---|
| committer | Thomas Weißschuh <linux@weissschuh.net> | 2026-04-27 19:13:27 +0300 |
| commit | 4c6826ee7d04f489ad6fcf46ae6dd595fe9c6295 (patch) | |
| tree | cb75e892504e7cc7b623be818d4654df23419a64 /include/linux/debugobjects.h | |
| parent | e635b0459ae9533d57f5816aad1793ccb9d7d097 (diff) | |
| download | linux-4c6826ee7d04f489ad6fcf46ae6dd595fe9c6295.tar.xz | |
tools/nolibc: avoid call to wcslen() in _start_c() inserted by clang
Clang may convert the loop to find _auxv into a call to wcslen() which
is missing on nolibc. -fsanitize needs to be disabled for this to
happen.
Use the same pattern as in the nolibc strlen() implementation to avoid
the function call generation.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://patch.msgid.link/20260418-nolibc-wcslen-v1-1-671271b8ea63@weissschuh.net
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
