tag | 390241bb475ce7f3dfba78a20dcb84e343a7355c | |
---|---|---|
object | 2fc1d1fb6217b8485d0dac47abe78c3822e8e3f5 |
commit | 2fc1d1fb6217b8485d0dac47abe78c3822e8e3f5 | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@zytor.com> | Mon Dec 01 18:58:46 2003 +0000 |
committer | H. Peter Anvin <hpa@zytor.com> | Mon Dec 01 18:58:46 2003 +0000 |
tree | 3b54aa4df42cb2152ce5872f5b144854f0d52c7a | |
parent | 801adce33d992bb7aab2c4372d0c1df4bbae2358 [diff] |
From Olaf Hering: I should have looked earlier at this spec. This patch is required to not overwrite the argv[0]. The stack is linked and a new function will write its address into the previous frame. If _start doesnt adjust the stack, __libc_init will write its address to elfdata+4 which is argv[0]. This patch allocates just one frame to avoid this corruption.