it's naturally aligned when entered with the kernel argv array, but if ld.so has been invoked explicitly to run a program, the stack will not be aligned due to having thrown away argv[0]. |
||
|---|---|---|
| .. | ||
| arm | ||
| i386 | ||
| mips | ||
| x86_64 | ||
| crt1.c | ||
| crti.c | ||
| crtn.c | ||
| Scrt1.c | ||
it's naturally aligned when entered with the kernel argv array, but if ld.so has been invoked explicitly to run a program, the stack will not be aligned due to having thrown away argv[0]. |
||
|---|---|---|
| .. | ||
| arm | ||
| i386 | ||
| mips | ||
| x86_64 | ||
| crt1.c | ||
| crti.c | ||
| crtn.c | ||
| Scrt1.c | ||