bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linker-script.m4?


From: Mike Frysinger
Subject: Re: linker-script.m4?
Date: Mon, 2 Mar 2009 11:20:36 -0500
User-agent: KMail/1.11.0 (Linux/2.6.28; KDE/4.2.0; x86_64; ; )

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

[Prev in Thread] Current Thread [Next in Thread]