Re: [PATCH v2] tools/nolibc: completely remove optional environ support

From: Willy Tarreau
Date: Tue Jul 11 2023 - 03:16:52 EST


On Mon, Jul 10, 2023 at 08:01:34PM +0200, Thomas Weißschuh wrote:
> 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.

Thank you Thomas, now pushed to the same branch.

Willy