[PATCH] Static linking binaries with uClibc

Denys Vlasenko vda.linux at googlemail.com
Sun May 16 05:22:34 UTC 2010


On Thursday 04 February 2010 11:22, Bernhard Reutner-Fischer wrote:
> On Wed, Feb 03, 2010 at 09:07:03PM +0100, Bernhard Reutner-Fischer wrote:
> >On Wed, Feb 03, 2010 at 04:21:29PM +0000, Will Newton wrote:
> >>Hello,
> >>
> >>I have a problem with linking applications statically with uClibc but
> >>without including the stdio functions. This issue has been brought up
> >
> >See http://bugs.uClibc.org/1033
> >My theory (which is essentially size-neutral) goes like this, and yes,
> >it's not pretty but seems to work for me:
> 
> I've attached a possible fix to the PR.

I attched the alternative which uses simple asm() wrapper
to fool gcc.

-- 
vda


More information about the uClibc mailing list