LD_SYMBOLIC_FUNCTIONS ( binutils >= 2.17.50.0.11 )

Paweł Sikora pluto at agmk.net
Fri Jan 26 07:40:26 CET 2007


hi,

the recent binutils provides a nice feature that allows to reduce
the number of relocations in ELF/PLT and finally speedups the application
startup time.

(...)
-Bsymbolic-functions
     When creating a shared library, bind references to global function
     symbols to the definition within the shared library, if any.
     This option is only meaningful on ELF platforms which support shared
     libraries. If -Bsymbolic-func-tions is not used when linking a shared
     library, the linker will also turn on this option if the environment
     variable "LD_SYMBOLIC_FUNCTIONS" is set. When both environment
     variables "LD_SYMBOLIC" and "LD_SYMBOLIC_FUNCTIONS" are set,
     "LD_SYMBOLIC" will take precedent.
(...)

if there isn't critiscm i'll enable this in rpm macros as export LD_...


More information about the pld-devel-en mailing list