diff options
author | Willy Tarreau <w@1wt.eu> | 2022-02-07 17:23:44 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-04-20 17:05:45 -0700 |
commit | 07f47ea06fe9d38c5e8d9068fba2468ed8bb8b59 (patch) | |
tree | 1d0f2aae37ca62815b334841bf63b0b60b79182f /usr/Makefile | |
parent | d9390de638cd9788090c6299273a41a8cfa0b499 (diff) | |
download | linux-07f47ea06fe9d38c5e8d9068fba2468ed8bb8b59.tar.bz2 |
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>
Diffstat (limited to 'usr/Makefile')
0 files changed, 0 insertions, 0 deletions