https://sourceware.org/bugzilla/show_bug.cgi?id=33177

--- Comment #5 from Ali Bahrami <ali_swbugzilla at emvision dot com> ---
(In reply to Alan Modra from comment #4)
> Where in the solaris ABI does it say _GLOBAL_OFFSET_TABLE_ must be dynamic? 
> It is interesting that it is made protected by solaris ld, which is
> acknowledging that the symbol is only useful in the shared library when
> resolving references to the shared library GOT.  ie. a reference in the
> shared library should *not* resolve to the executable _G_O_T_.  It should at
> least be made protected by gld too.

The Solaris Linker and Libraries manual mentions it, and
says in a couple of places that it is available for
use as the symbol associated to relocations.

I can't think of any situation where not making it protected
wouldn't be wanted. As you note, it's only useful within the object
that contains it.

- Ali

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to