3 ms·
I think I've fixed it [0]. Ran into the issue where gcc was kindly re-aligning the stack to 16-bytes on i386 for no good reason (stack was already aligned?!?!)
by oso2k 12y ago
I think I've fixed it [0]. Ran into the issue where gcc was kindly re-aligning the stack to 16-bytes on i386 for no good reason (stack was already aligned?!?!). But that's fixed. Just hope gcc on i386 doesn't stop doing `sub ESP, 0x1C` upon entry to _start.
[0] https://github.com/lpsantil/rt0/blob/master/lib/00_start.c https://github.com/lpsantil/rt0/blob/master/lib/00_start.c