usefulness of UCLIBC_CTOR_DTOR ?

Mike Frysinger vapier at gentoo.org
Sun Aug 21 01:59:41 UTC 2011


On Friday, August 12, 2011 17:01:01 Yann E. MORIN wrote:
> On Friday 12 August 2011 17:34:49 John Spencer wrote:
> > overall this looks like a pretty useless and confusing option, which
> > imho should get removed.
> > even if there's a way to build a binary without those 2 object files,
> > which i'm not aware of (please point it out if you know how), it doesn't
> > cost nothing except of 1200 bytes harddisk storage to still build them.
> 
> I just looked on PPC-32, uClibc-0.9.30.2. The total size of code is
> 128 bytes, plus one long; which is a grand total of 132 bytes (if my
> maths are not too busted, and I did not miss any symbol).

if you're just counting the .o files, you missed the usage in the libc.  
there's also init/fini in the ldso, but that is always enabled.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20110820/769f0ca5/attachment.asc>


More information about the uClibc mailing list