aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/vmalloc.py
diff options
context:
space:
mode:
authorWilly Tarreau <w@1wt.eu>2023-01-10 08:24:20 +0100
committerPaul E. McKenney <paulmck@kernel.org>2023-01-10 13:33:56 -0800
commit9b8688c6eaddcdf0db600953d57beaeafaae1155 (patch)
treecae30fdb7a23dcc5ba818a25ab1d8f5981e3ca2e /scripts/gdb/linux/vmalloc.py
parent52e423f5b93e6d30fd5d311f068094b768caffb5 (diff)
tools/nolibc: export environ as a weak symbol on arm64
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/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions