<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 16, 2016 at 10:59 PM, Krzysztof Parzyszek via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2/16/2016 7:04 AM, Jun Koi via llvm-dev wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I am trying to undertand which code in LLVM patches the fixups generated<br>
by assembler.<br>
<br>
</blockquote>
<br></span>
What do you mean exactly? The actual machine code is generated by MCCodeEmitter, for example<br>
lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp<br>
<br>
The relocations from the object files are applied by the linker, not LLVM.<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div>Do you mean the LLVM linker will do the relocation? <br></div><div><br>Do you have any hints on where to look at linker source of LLVM to see how this is done?<br><br><br></div><div>Thanks.<br><br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
<br>
-Krzysztof<br>
<br>
<br>
-- <br>
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</font></span></blockquote></div><br></div></div>