<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 16, 2016 at 11:13 PM, Krzysztof Parzyszek <span dir="ltr"><<a href="mailto:kparzysz@codeaurora.org" target="_blank">kparzysz@codeaurora.org</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"><span class="">On 2/16/2016 9:07 AM, Jun Koi wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Do you mean the LLVM linker will do the relocation?<br>
<br>
Do you have any hints on where to look at linker source of LLVM to see<br>
how this is done?<br>
</blockquote>
<br></span>
The lld's git repo is at <a href="http://llvm.org/git/lld.git" rel="noreferrer" target="_blank">http://llvm.org/git/lld.git</a><br>
<br>
You can also view the code through the web interface, e.g.<br>
<a href="http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/X86_64/" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/X86_64/</a></blockquote><div><br><br></div><div>Oh, according to <a href="http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/">http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/</a>, LLD only support very few architectures: ARM, ARM64, X86, Mips & Hexagon. <br></div><div>Meanwhile, LLVM has assemblers for many other architectures: SystemZ, XCore, PPC, Sparc, etc<br><br></div><div>Does this mean LLD is very much behind LLVM in development?<br><br><br></div><div>Thanks.<br><br><br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
I don't know the linker sources, so I can't really help with how it works.<div class=""><div class="h5"><br>
<br>
-Krzysztof<br>
<br>
<br>
-- <br>
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation<br>
</div></div></blockquote></div><br></div></div>