Date: Thu, 19 May 2005 07:36:07 +0000 (UTC) From: Doug Rabson <dfr@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/csu/i386-elf crt1.c Message-ID: <200505190736.j4J7a7sH006843@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505190736.j4J7a7sH006843>
