[patch] init_array/fini_array support

Joakim Tjernlund joakim.tjernlund at transmode.se
Wed Feb 1 22:13:08 UTC 2006


> 
> I.e. in libc check to see if there is an alternate implementation.
> 
> This code is effectively implementing 'strong' definitions in 
> C - that seems a waste of time to me since they can be 
> implemented in ld.so!
> 
> The code also has a significan overhead - the extra test on 
> each reference to (errno), it's doing run-time-weak rather 
> than dynamic-link-time-weak!

Yes, this new weak procedure makes some things bad. I still don't know why glibc
changed it other than this is how other UNIX:es handles weak syms, maybe it has to do with TLS?

I am open to changing it back, but we should understand what the downside is first.

 Jocke
> 
> John Bowler <jbowler at acm.org>





More information about the uClibc mailing list