aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/vmalloc.py
diff options
context:
space:
mode:
authorSven Schnelle <svens@linux.ibm.com>2023-01-10 08:24:24 +0100
committerPaul E. McKenney <paulmck@kernel.org>2023-01-10 13:33:56 -0800
commit9e5bdc613d06fdc6fed73267767c09a0dc0c6aac (patch)
treeee789327f80546c6415ae7b5ee2a6569dc821515 /scripts/gdb/linux/vmalloc.py
parent758f33379569d817558a4310c47b42834b8e4e57 (diff)
tools/nolibc: export environ as a weak symbol on s390
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 on s390 both with environ inherited from _start and extracted from envp. Signed-off-by: Sven Schnelle <svens@linux.ibm.com> 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