"H. J. Lu" <[EMAIL PROTECTED]> writes: > With the new linker switches, -Bsymbolic-functions and > --dynamic-list-cpp-new, we can improve shared library > performance in gcc. This change will build libstdc++.so with > -Bsymbolic-functions and --dynamic-list-cpp-new. I can expand it > to other libraries.
To be clear, this will prevent programs from overriding functions defined in libstdc++.so which are called by other functions in libstdc++.so. Are we sure this is desirable? Note in particular that libstdc++.so includes several functions defined as extern "C", the __cxa functions. In particular I've seen programs which override __cxa_pure_virtual in order to give a more informative error message. Ian