[Mono-dev] A question on Mono and -Bsymbolic

H. J. Lu hjl at lucon.org
Wed Jan 31 10:56:33 EST 2007


On Mon, Jan 29, 2007 at 09:42:13PM -0500, Jonathan Pryor wrote:
> On Fri, 2007-01-26 at 07:54 -0800, H. J. Lu wrote:
> > One side effect is you can no longer override global functions in a
> > shared libraries. Does it work with Mono shared libraries? If not,
> > is there a list of Mono functions which have to be overridable by
> > another shared library or user?
> 
> I haven't tried this, but I imagine that Mono doesn't require that it's
> functions be overridable by another shared library, as Mono runs on
> Win32, and Win32 DLL's do not have this capability.

You are right. It was a pilot error. It does work. It reduces
PLT relocations in libmono.so from 1696 to 388 on Linux/x86-64
without any ill effect.

Thanks.


H.J.



More information about the Mono-devel-list mailing list