aboutsummaryrefslogtreecommitdiff
path: root/tools/include/nolibc/compiler.h
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-07-28 22:34:11 +0200
committerThomas Weißschuh <linux@weissschuh.net>2024-08-09 07:40:18 +0200
commit754283ce8326fdce75d589c99cc58456199c123d (patch)
treeb184a035d1892d16e378c168c80730076dd146f8 /tools/include/nolibc/compiler.h
parentae1f550efc11eaf1496c431d9c6e784cb49124c5 (diff)
tools/nolibc: pass argc, argv and envp to constructors
Since 2005 glibc has passed argc, argv, and envp to all constructors. As it is cheap and easy to do so, mirror that behaviour in nolibc. This makes it easier to migrate applications to nolibc. Link: https://lore.kernel.org/r/20240728-nolibc-constructor-args-v1-1-36d0bf5cd4c0@weissschuh.net Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Diffstat (limited to 'tools/include/nolibc/compiler.h')
0 files changed, 0 insertions, 0 deletions