linux/tools/include/nolibc
Willy Tarreau 07f47ea06f tools/nolibc: move exported functions to their own section
Some functions like raise() and memcpy() are permanently exported because
they're needed by libgcc on certain platforms. However most of the time
they are not needed and needlessly take space.

Let's move them to their own sub-section, called .text.nolibc_<function>.
This allows ld to get rid of them if unused when passed --gc-sections.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
2022-04-20 17:05:45 -07:00
..
arch-aarch64.h tools/nolibc/arch: split arch-specific code into individual files 2022-04-20 17:05:43 -07:00
arch-arm.h tools/nolibc/arch: split arch-specific code into individual files 2022-04-20 17:05:43 -07:00
arch-i386.h tools/nolibc/arch: split arch-specific code into individual files 2022-04-20 17:05:43 -07:00
arch-mips.h tools/nolibc/arch: split arch-specific code into individual files 2022-04-20 17:05:43 -07:00
arch-riscv.h tools/nolibc/arch: split arch-specific code into individual files 2022-04-20 17:05:43 -07:00
arch-x86_64.h tools/nolibc/arch: split arch-specific code into individual files 2022-04-20 17:05:43 -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
nolibc.h tools/nolibc/stdio: add a minimal set of stdio functions 2022-04-20 17:05:44 -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 perror() to report the errno value 2022-04-20 17:05:44 -07:00
stdlib.h tools/nolibc: move exported functions to their own section 2022-04-20 17:05:45 -07:00
string.h tools/nolibc: move exported functions to their own section 2022-04-20 17:05:45 -07:00
sys.h tools/nolibc/sys: make getpgrp(), getpid(), gettid() not set errno 2022-04-20 17:05:44 -07:00
types.h tools/nolibc/types: define EXIT_SUCCESS and EXIT_FAILURE 2022-04-20 17:05:44 -07:00