search for: r_init_stats

Displaying 1 result from an estimated 1 matches for "r_init_stats".

2006 Jan 05
1
Using gcc4 visibility features
...lity features: for an in-depth account see http://people.redhat.com/drepper/dsohowto.pdf (and note there are older versions of that document around). Consider for example stats.so. On a gcc4 Linux system this has just three entry points gannet% nm -g stats.so | grep " T " 00002720 T R_init_stats 0004a544 T _fini 00001f28 T _init since the only entry point we need is the symbol registration. This results in a smaller DSO and a faster load. It is only worth doing for shared objects with many entry points, but this one had 262. It also gives another reason for the registration of symbols...