ld : option -B eliminate ?
uday@veritas.com
uday@veritas.com
Thu Aug 24 22:20:00 GMT 2000
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~
>
More information about the Binutils
mailing list