bug-binutils
[Top][All Lists]
Advanced

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

Re: two instances of global from shared lib linked with -Bsymbolic


From: Ian Lance Taylor
Subject: Re: two instances of global from shared lib linked with -Bsymbolic
Date: 06 Apr 2004 09:13:00 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Rafal Dabrowa <address@hidden> writes:

>       I have created a global (integer) variable in shared library. 
> The library is linked with -Bsymbolic option. Main program 
> sees this variable as a separate copy: any changes of this 
> variable aren't seen in library and vice versa. 

Yes, that is what happens when you use -Bsymbolic.  If you don't want
this behaviour, don't use -Bsymbolic.

Ian




reply via email to

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