<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> Note that there is no +4 in test2.s.<br>
<br>
</span>GOTPCREL relocations work differently in ELF and don't require this hack.<br>
<span class=""><br></span></blockquote><div><br></div><div>Cool. Do you know if it is documented somewhere?</div><div><br></div><div>In any case, test.s and test2.s versions of X86_64 OS X are attached, and it works with the +4 :-)</div><div> </div></div></div></div>