This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ld : option -B eliminate ?


The shared library generated has GLOBAL symbols which are put by GCC
compiler and not by my code.
If I make them all local, my program dumps core while loading this
library. 

Thanks,
Uday

On Mon, 21 Aug 2000, Richard Henderson wrote:

> On Mon, Aug 21, 2000 at 10:10:53AM +0530, uday@veritas.com wrote:
> > I want global symbols not assigned to a version
> > definition to be eliminated from the symbol table.
> > This is available with linker on solaris with option 
> > -B eliminate. 
> > Is it possible to achieve something similar with GNU linker ?
> 
> Add 
> 
>    local:
>      *;
> 
> to the end of your version script.
> 
> 
> 
> r~
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]