http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19520

--- Comment #27 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-18 
15:17:19 UTC ---
(In reply to comment #26)

> The linker, however, mandates that the address to symbol should not be loaded
> directly, but only through the GOT. This is necessary because the psABI
> requires that the function address resolve to the PLT entry found in the
> position-dependent executable.

Why on earth does it do that?  If we have to go through the GOT it can
as well contain the functions address and not that of the PLT entry?

Reply via email to