<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jun 6, 2013 at 2:54 PM, Anton Korobeynikov <span dir="ltr"><<a href="mailto:anton@korobeynikov.info" target="_blank">anton@korobeynikov.info</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> I am not sure what's the right approach for fixing this.  Should .secrel32<br>
> be used on all platforms, or just for Windows PE-COFF?   Can somebody<br>
> familiar with intricacies of DWARF format on different platforms please<br>
> comment of this?<br>
section-relative offsets should be used on COFF. </blockquote><div><br></div><div>Well, not everywhere it seems: for references into the .text section, gcc still uses .long <offset from beginning of .text><br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Can you fill the PR with short reproducer?<br></blockquote></div><br></div><div class="gmail_extra">
Are you referring to this: <a href="http://llvm.org/docs/HowToSubmitABug.html">http://llvm.org/docs/HowToSubmitABug.html</a> ?   Sorry, I'm new here.<br><br></div><div class="gmail_extra">Vadim<br></div></div>