On Monday 02 March 2009 06:27:49 Bruno Haible wrote:
> Simon Josefsson wrote:
> > The version script file is documented in the LD manual, but a short
> > example would be:
> >
> > SHISHI_0.0 {
> >   global:
> >     shishi*;
> >
> >   local:
> >     *;
> > };
>
> Could you please explain what the entire thing is about? Is it about
> hiding some symbols from "nm libshishi.so", for which gcc offers a solution
> at source code level (see [1] and gnulib's m4/visibility.m4)? Or is it
> about allowing multiple versions of the same symbol to exist in the same
> shared library, something which is supported only by glibc and Solaris [2]?
>
> I'm asking because linker scripts only work with GNU ld (I guess).

i think you mean linker version scripts ... most linkers out there support 
linker scripts ;)

that said, solaris/sun tools have long supported linker version scripts and 
ELF symbol versioning.  the syntax though is different i believe.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to