LD_SYMBOLIC_FUNCTIONS ( binutils >= 2.17.50.0.11 )

Paweł Sikora pluto at agmk.net
Fri Jan 26 08:53:28 CET 2007


Arkadiusz Miskiewicz napisał(a):
> On piątek, 26 stycznia 2007, Paweł Sikora wrote:
>> 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.
> 
> Why it's not ,,on'' by default  in binutils if it so great?

by default all calls from library to public/global functions exported
by this library go through PLT. in such case you can override global
symbol (e.g. with LD_PRELOAD=myhack.so which exports eq. symbol).
with -Bsymbolic-functions such calls will be bound directly
and all happy library hacking isn't so easy.



More information about the pld-devel-en mailing list