attribute_hidden

Joakim Tjernlund joakim.tjernlund at transmode.se
Sat Nov 26 16:12:54 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

Quite a reduction! Good work.
	
> 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.

Keep it coming :)

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




More information about the uClibc mailing list