1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
freebsd/lib/csu
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
..
alpha Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
amd64 Align the stack suitably for the version of gcc in FreeBSD-4 (provided 2002-09-29 13:42:27 +00:00
common Fix the copyright dates. 2002-05-07 18:07:43 +00:00
i386 Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
i386-elf Align the stack suitably for the version of gcc in FreeBSD-4 (provided 2002-09-29 13:42:27 +00:00
ia64 Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
powerpc Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
sparc64 Remove a prototype for a function that is no longer called. 2002-09-20 22:23:32 +00:00