Shared lib symbol hiding (Was: Re: Lazy mpz allocation)

Marco Bodrato bodrato at mail.dm.unipi.it
Tue Sep 8 05:22:33 UTC 2015


Ciao,

Il Lun, 7 Settembre 2015 5:34 pm, Torbjörn Granlund ha scritto:
> "Marco Bodrato" <bodrato at mail.dm.unipi.it> writes:
>   Maybe in some cases (e.g. the constant limb we are speaking about in
>   this thread) we only want to hide, without the need of an alias?
>
> We could separate them.  We need to worry about ELF, Mach-o and the
> Windows format(s).  Does any of these support just hiding but not
> aliasing?  I don't know.

The same for me, I don't know. Moreover I don't know anything about
possible other (future?) formats... That's why I'd leave the checking task
to the configure step.

> I intend to soon make some hiding experiments over our great test
> environment.  If it doesn't break things, I have a much larger change
> which extensively does hiding + aliasing.  The resulting .so file
> becomes much smaller, and GMP's performance should benefit too.

Great!

Regards,
m
-- 
http://bodrato.it/



More information about the gmp-devel mailing list