[PATCH 1/2] static build: fix internal locking weaks to get pulled in always
Austin Foxley
austinf at cetoncorp.com
Fri May 7 15:35:31 UTC 2010
On 05/07/2010 07:19 AM, Timo Teras wrote:
> Linker is smart and does not pull in weaks.os, ever. This happens
> because that compilation unit does not get strong references and
> ld eliminates dead code. We really need the weaks for static build
> in a compilation unit that is always there, otherwise it won't work.
>
> Signed-off-by: Timo Teras <timo.teras at iki.fi>
Applied, thanks.
-Austin
More information about the uClibc
mailing list