summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorWilly Tarreau <w@1wt.eu>2023-01-10 10:24:19 +0300
committerPaul E. McKenney <paulmck@kernel.org>2023-01-11 00:33:55 +0300
commit52e423f5b93e6d30fd5d311f068094b768caffb5 (patch)
tree79f3dd88b312187a050ac2c30a55a3bde5f3e9b6 /scripts/lib
parent89dc50921c87e2b4a4612188c5a90abebc02b60d (diff)
downloadlinux-52e423f5b93e6d30fd5d311f068094b768caffb5.tar.xz
tools/nolibc: export environ as a weak symbol on i386
The environ is retrieved from the _start code and is easy to store at this moment. Let's declare the variable weak and store the value into it. By not being static it will be visible to all units. By being weak, if some programs already declared it, they will continue to be able to use it. This was tested both with environ inherited from _start and extracted from envp. Signed-off-by: Willy Tarreau <w@1wt.eu> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions