Interesting, but what would you say on this:<div><a href="https://lists.gnu.org/archive/html/bug-binutils/2006-06/msg00110.html">https://lists.gnu.org/archive/html/bug-binutils/2006-06/msg00110.html</a><br><div><br>четверг, 27 октября 2016 г. пользователь Rafael Espíndola  написал:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 27 October 2016 at 10:44, Eugene Leviant <<a>evgeny.leviant@gmail.com</a>> wrote:<br>
> The problem is that such kind of bugs very quickly become "features" :)<br>
> Here is the real use case:<br>
><br>
> 1) There is an undefined 'MySym' symbol in a shared library, which has GOT entry<br>
> 2) You link this shared library using this script:<br>
><br>
> SECTIONS {<br>
>    /* .... */<br>
>    PROVIDE_HIDDEN(MySym = .);<br>
>    /* ... */<br>
> }<br>
><br>
> After library is loaded MySym will have incorrect value, because it is<br>
> actually an absolute symbol.<br>
<br>
I guess the error in here is that MySym should not actually be<br>
absolute, which I guess is also the underlying problem in pr30406.<br>
<br>
> I think every GOT entry should be relocated, shouldn't it?<br>
<br>
Not if it should contain an absolute value.<br>
<br>
Cheers,<br>
Rafael<br>
</blockquote></div>
</div>