On Wed, Jan 10, 2007 at 07:19:17AM -0800, Ian Lance Taylor wrote: > "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.
What does C++ standard say? If standard doesn't say we have to support it, I don't see there is a problem. > > In particular I've seen programs which override __cxa_pure_virtual in > order to give a more informative error message. Can user override those symbols on all platforms? H.J.