[uClibc] gcc-3.4 initfini

David McCullough davidm at snapgear.com
Fri Oct 31 11:05:44 UTC 2003


Jivin Erik Andersen lays it down ...
> On Thu Oct 30, 2003 at 11:22:28AM -0800, Rogelio Serrano wrote:
> > I built gcc-3.4-20032029 and built crti.S and crtn.S in uclibc
> > by hand. The initfini.S generated is very different from those
> > generated with gcc-3.3.2. I can build using the new uclibc but
> > the programs segfaults when run. i attached the files so anyone
> > who is familiar with initfini and gcc-3.4 can take a look. 
> 
> Ok, thanks for the report.  I am increasingly becoming convinced
> that we will just have to give up on initfini.c entirely and
> implement per-arch crti.S and crtn.S files.  :-(

For what it's worth,  I think this is a good idea,  having dealt
with the SuperH compiler,  which does a lot of different things and
usually breaks initfini,  an arch specific .S would be much simpler
to maintain and understand ;-)

Cheers,
Davidm

-- 
David McCullough, davidm at snapgear.com  Ph:+61 7 34352815 http://www.SnapGear.com
Custom Embedded Solutions + Security   Fx:+61 7 38913630 http://www.uCdot.org



More information about the uClibc mailing list