This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ld : option -B eliminate ?
- To: binutils at sourceware dot cygnus dot com
- Subject: Re: ld : option -B eliminate ?
- From: <uday at veritas dot com>
- Date: Fri, 25 Aug 2000 10:51:12 +0530 (IST)
- cc: Richard Henderson <rth at cygnus dot com>
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~
>