cvs commit: src/lib/csu/i386-elf crt1.c
Doug Rabson
dfr at FreeBSD.org
Thu May 19 07:36:08 GMT 2005
dfr 2005-05-19 07:36:07 UTC
FreeBSD src repository
Modified files:
lib/csu/i386-elf crt1.c
Log:
Align the stack to a 16 byte boundary so that we can safely call functions
that use SSE. The compiler does attempt to do this in main() but not very
successfully - it still manages to use unaligned offsets from %ebp in some
cases. Also we need to have an aligned stack in case something uses SSE
via _init().
MFC After: 1 week
Revision Changes Path
1.14 +3 -0 src/lib/csu/i386-elf/crt1.c
More information about the cvs-src
mailing list