hidden_def/proto use

Peter S. Mazinger ps.m at gmx.net
Mon Jan 16 20:41:01 UTC 2006


Hello!

The results of the conversion to the use of hidden_def/proto svn within libuClibc.so
JUMP	GLOB_DAT	text	data	bss	case
521	97		312712	4272	19000	attribute_hidden/hidden_proto/hidden_def as noop
437	55		304049	3772	19000	hidden_proto/hidden_def as noop
15	24		283319	1956	18936	all enabled

what is left is malloc/locking,threads/rpc,svc related.
for XLOCALE I have no idea about __curlocale[_set] , because they are 
duplicated in libpthread, __errno_location and __h_errno_location as well

The case hidden_def/proto as noop would be more adequate for libc.a 
(disabling the duplicate symbols), but that would mean that we need to 
compile all source files twice, the build would last twice as long.

I have converted all weak_alias to strong_alias (in *.c at least), left 
only those that I was sure that are needed for some reason. Now failures 
in conjunction w/ libpthread are expected and I intend to revert to 
weak_alias anything that is reported (link failures/warnings about 
duplicates...), so please test and report back.

Thanks, 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