6a028821b6
The glue code pushed 12 bytes to the stack, breaking the 16-byte stack alignment requirement. This would be fixed by the main() prologue from gcc, but all "init" and "fini" code (static/global constructors/ destructors) would run with a misaligned stack. This was already fixed for x86_64 in hrev49731. Note that the fix here is slightly different, the pointer is realigned after it is saved to EBP and the function epilogue restores it from EBP, so no changes to crtn.S are needed. |
||
---|---|---|
.. | ||
arch | ||
haiku_version_glue.c | ||
init_term_dyn.c | ||
init_term_dyn.h | ||
Jamfile | ||
start_dyn.c |