Home
last modified time | relevance | path

Searched hist:"67 d108e2a2bd258b49902ea9d85c25a53a7c5e5b" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/include/nolibc/
H A Dstdlib.hdiff 67d108e2a2bd258b49902ea9d85c25a53a7c5e5b Mon Jul 10 13:01:34 CDT 2023 Thomas Weißschuh <linux@weissschuh.net> tools/nolibc: completely remove optional environ support

In commit 52e423f5b93e ("tools/nolibc: export environ as a weak symbol on i386")
and friends the asm startup logic was extended to directly populate the
"environ" array.

This makes it impossible for "environ" to be dropped by the linker.
Therefore also drop the other logic to handle non-present "environ".

Also add a testcase to validate the initialization of environ.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
/openbmc/linux/tools/testing/selftests/nolibc/
H A Dnolibc-test.cdiff 67d108e2a2bd258b49902ea9d85c25a53a7c5e5b Mon Jul 10 13:01:34 CDT 2023 Thomas Weißschuh <linux@weissschuh.net> tools/nolibc: completely remove optional environ support

In commit 52e423f5b93e ("tools/nolibc: export environ as a weak symbol on i386")
and friends the asm startup logic was extended to directly populate the
"environ" array.

This makes it impossible for "environ" to be dropped by the linker.
Therefore also drop the other logic to handle non-present "environ".

Also add a testcase to validate the initialization of environ.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>