Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/csu/common_elf




On May 12, 2006, at 6:40 PM, matthew green wrote:


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.

Uh, aren't we using the GCC-supplied crtstuff now?  Even with GCC 3.3!

-- thorpej




Home | Main Index | Thread Index | Old Index