diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-01-16 19:53:56 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-01-16 19:53:56 +0000 |
commit | 6c2ef877c35e16b59cd503de50fbcea5cb379285 (patch) | |
tree | 18a8e8ab27097af72d8b6f8a0894713487b9d697 /libc | |
parent | b8e0118b10424c890598953f877a53a44ff6f9d7 (diff) |
Update the comments a wee bit.
Diffstat (limited to 'libc')
-rw-r--r-- | libc/sysdeps/linux/i386/crt0.S | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/i386/crt0.S b/libc/sysdeps/linux/i386/crt0.S index 46d77e09d..b9545d16d 100644 --- a/libc/sysdeps/linux/i386/crt0.S +++ b/libc/sysdeps/linux/i386/crt0.S @@ -17,10 +17,15 @@ not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* If you don't know what is going on here, check out - http://linuxassembly.org/startup.html - For a description of the stack layout. - -John Beppu, and Erik Andersen +/* Based on the code from GNU libc, but hacked up by John Beppu and Erik Andersen */ + + When we enter this piece of code, the program stack looks like this: + argc argument counter (integer) + argv[0] program name (pointer) + argv[1...N] program args (pointers) + argv[argc-1] end of args (integer) + env[0...N] environment variables (pointers) + NULL */ .global __environ |