Module Name: src
Committed By: mrg
Date: Sat May 13 01:40:34 UTC 2006
Modified Files:
src/lib/csu/common_elf: Makefile.inc
Log Message:
with GCC4 we *need* to pass -fno-unit-at-a-time otherwise GCC
reorders things breaking _init() and _fini().
for i386, the {init,fini}_fallthru() functions were being output
_before_ the _init()/ _fini(), and instead of falling through to
the rest of the .init/.fini section, it would fall through to
_init()/_fini() again, and again, and again, until the stack was
exhausted.
now i386 works, but i have not checked that this works for
sparc64 as well.