freebsd-dev/lib/csu/i386-elf
Bruce Evans fb0be37ded Align the stack suitably for the version of gcc in FreeBSD-4 (provided
-fomit-frame-pointer is not used).  This is mostly moot for -current
because gcc-3 does the alignment (slightly incorrectly) in main().

This patch is intended for easy MFC'ing and should be backed out in
-current soon since it causes compiler warnings and better fixes are
possible in -current.  The best fix is to do nothing here and wait for
gcc to do stack alignment right.  gcc-3 aligns the stack in main(), but
does it too late for main()'s local variables and too late for anything
called before main().  A misaligned stack is now more than an efficiency
problem, since some SSE instructions in some or all (hardware)
implementations trap on misaligned operands even if alignment checking
is not enabled.

PR:		41528:
Submitted by:	NIIMI Satoshi <sa2c@sa2c.net> (original version)
MFC after:	3 days
2002-09-29 13:42:27 +00:00
..
crt1.c Align the stack suitably for the version of gcc in FreeBSD-4 (provided 2002-09-29 13:42:27 +00:00
crti.S Use .rodata section for $FreeBSD$. 2002-05-15 04:19:49 +00:00
crtn.S Use .rodata section for $FreeBSD$. 2002-05-15 04:19:49 +00:00
Makefile Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00