]> Gentwo Git Trees - linux/.git/commitdiff
tools/nolibc: clean up outdated comments in generic arch.h
authorWilly Tarreau <w@1wt.eu>
Sun, 2 Nov 2025 14:25:48 +0000 (15:25 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Nov 2025 21:02:43 +0000 (22:02 +0100)
Along the code reorganizations, the file has been keeping the original
comments about argv and envp which are no longer relevant to this file
anymore. Let's just drop them.

Acked-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
tools/include/nolibc/arch.h

index 426c89198135564acca44c485e5c2d8ba36a6fe9..0871c439be7d2176bb6b03595418135290f1309e 100644 (file)
@@ -3,15 +3,6 @@
  * Copyright (C) 2017-2022 Willy Tarreau <w@1wt.eu>
  */
 
-/* Below comes the architecture-specific code. For each architecture, we have
- * the syscall declarations and the _start code definition. This is the only
- * global part. On all architectures the kernel puts everything in the stack
- * before jumping to _start just above us, without any return address (_start
- * is not a function but an entry point). So at the stack pointer we find argc.
- * Then argv[] begins, and ends at the first NULL. Then we have envp which
- * starts and ends with a NULL as well. So envp=argv+argc+1.
- */
-
 #ifndef _NOLIBC_ARCH_H
 #define _NOLIBC_ARCH_H