If it's the offset in the DI header then I'm pretty sure that's already taken care of.<div><br>Krister<br><br><br><div class="gmail_quote">On Thu, Aug 26, 2010 at 4:59 PM, Jonas Maebe <span dir="ltr"><<a href="mailto:jonas.maebe@elis.ugent.be" target="_blank">jonas.maebe@elis.ugent.be</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><br>
On 26 Aug 2010, at 10:32, Krister Wombell wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
I've also been looking at debugging with ELF and noticed the same problem as<br>
Renato. I just sent a patch to llvmcommits that fixes the problem.<br>
DW_at_stmt_list needs to emit a label(and therefore a relocation) for the<br>
offset rather a constant 0, then the linker can fixup the offset as it<br>
shuffles object files around.<br>
</blockquote>
<br></div>
It's not just DW_at_stmt_list, you have to do the same for the pointer to the abbreviation section.<br><font color="#888888">
<br>
<br>
Jonas<br>
</font></blockquote></div><br>
</div>