attribute_hidden

Peter S. Mazinger ps.m at gmx.net
Sat Nov 26 14:21:25 UTC 2005


Hello!

If someone is wondering why all that hassle about hiding internally used 
symbols, some facts now that 100 are hidden

JUMP relocs   text	   data	    bss	    dec	    hex	filename
# svn
431	      279552	   3888	  19120	 302560	  49de0	svn/lib/libuClibc-0.9.28.so
# svn w/ #define __attribute_hidden /* */
533	      288247	   4344	  19120	 311711	  4c19f	svn/lib/libuClibc-0.9.28.so
# vanilla 0.9.28
531	      281789	   4276	  19096	 305161	  4a809	uClibc-0.9.28/lib/libuClibc-0.9.28.so

Please be patient and report back if something I have hidden is needed (I 
try to compare what headers/glibc define, but it's not as easy as it 
sound, see latest macro usage of __fgetc_unlocked). Sorry for the 
inconvenience, unstability in svn.

glibc-2.3.6 has 23 such relocs (although provides more then uClibc, so 
please understand, that 431 is far away from that (removing these relocs 
will speed up libc)

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