optind
Daniel Jacobowitz
drow@mvista.com
Thu Dec 11 14:10:00 GMT 2003
On Wed, Dec 10, 2003 at 07:37:32PM +0200, Baurjan Ismagulov wrote:
> Hello, Daniel and Ian!
>
> On Wed, Dec 10, 2003 at 12:17:15PM -0500, Daniel Jacobowitz wrote:
> > > This will
> > > normally be true, but will fail in cases where the library is
> > > controlling visibility in any of various different ways.
> > For global variables the sensible default is to use the one in the
> > executable. This gets much more fun, of course, for function
> > addresses.
>
> Could you please enlighten me regarding the following, too:
>
> 1. How can the visibility of a symbol be controlled by the library?
Look of visibility in the GNU ld manual.
> 2. Why does this get much more fun for function addresses?
Because the rules on resolving symbols are much more general than the
case of copy relocations, which is quite simple.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
More information about the Gdb
mailing list