[uClibc] Proposal adding -z defs by default

Joakim Tjernlund Joakim.Tjernlund at lumentis.se
Sun Nov 7 15:02:19 UTC 2004


> On Thu, 4 Nov 2004, Joakim Tjernlund wrote:
> 
> > > 
> > > > On Wed Nov 03, 2004 at 06:02:59PM +0100, Joakim Tjernlund wrote:
> > > > 
> > > > > > but sadly it does
> > > > > > indeed whine about missing main, and we can't add even a weak
> > > > > > main to libc or badness will ensue.  Might be possible to link
> > > > > 
> > > > > Badness being ld NOT complaining about missing main when it should?
> > > > 
> > > > yep.
> > > 
> > > hmm, making main a proteced(.protected main) symbol in crt* files fixes that.
> > > 
> > 
> > Here is a patch for ppc and x86(the other archs will be done if this OK)
> 
> It works for me (x86)

Good.

Erik, do you see anything wrong with this? 

 Jocke



More information about the uClibc mailing list