[uClibc] Proposal adding -z defs by default

Peter S. Mazinger ps.m at gmx.net
Fri Nov 5 17:25:23 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)

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list