haiku/src/system/glue
Adrien Destugues 6a028821b6 x86 glue code: keep stack aligned.
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.
2017-12-10 09:23:22 +01:00
..
arch x86 glue code: keep stack aligned. 2017-12-10 09:23:22 +01:00
haiku_version_glue.c
init_term_dyn.c
init_term_dyn.h
Jamfile Optionally build glue code for bootstrap_stage0 platform. 2014-08-13 13:32:49 +02:00
start_dyn.c