Re: ld -shared -Bsymbolic and C++ shared library

2006-07-27 Thread H. J. Lu
On Thu, Jul 27, 2006 at 03:37:33PM -0700, Geoffrey Keating wrote: > "H. J. Lu" <[EMAIL PROTECTED]> writes: > > > ld -shared -Bsymbolic will reduce number of dynamic relocations in > > a shared library. Unfortunately, it won't work correctly with C++ > > exception and maybe other language features.

Re: ld -shared -Bsymbolic and C++ shared library

2006-07-27 Thread Geoffrey Keating
"H. J. Lu" <[EMAIL PROTECTED]> writes: > ld -shared -Bsymbolic will reduce number of dynamic relocations in > a shared library. Unfortunately, it won't work correctly with C++ > exception and maybe other language features. > > However, I think it is possible to make -shared -Bsymbolic to work > f

ld -shared -Bsymbolic and C++ shared library

2006-07-16 Thread H. J. Lu
ld -shared -Bsymbolic will reduce number of dynamic relocations in a shared library. Unfortunately, it won't work correctly with C++ exception and maybe other language features. However, I think it is possible to make -shared -Bsymbolic to work for C++ by providing a way to specify a list of symbo