<div style="min-height:22px;margin-bottom:8px;">Hi Pete,</div><div style="min-height:22px;margin-bottom:8px;">Thanks for your kind response!</div><div style="min-height:22px;margin-bottom:8px;">I migrated AVR target for lld <a href="https://reviews.llvm.org/D32991">https://reviews.llvm.org/D32991</a> it is very beginning, only support R_AVR_CALL reloc, and ARC is more complex than AVR, I will learn it from binutils, also ARC related doc, then try to implement it.</div><div style="min-height:22px;margin-bottom:8px;"><br></div><span class="mail-footer">发自我的iPhone</span><div id="original-content"><br><br><div><div style="font-size:70%;padding:2px 0;">------------------ Original ------------------</div><div style="font-size:70%;background:#f0f0f0;color:#212121;padding:8px;border-radius:4px"><div><b>From:</b> Pete Couperus <Peter.J.Couperus@synopsys.com></div><div><b>Date:</b> 周五,9月 1,2017 11:17 下午</div><div><b>To:</b> Leslie Zhai <lesliezhai@llvm.org.cn>, Peter.J.Couperus@synopsys.com <Peter.J.Couperus@synopsys.com></div><div><b>Cc:</b> llvm-dev@lists.llvm.org <llvm-dev@lists.llvm.org></div><div><b>Subject:</b> Re: RE: [RFC] Adding ARC backend</div></div></div><br>Hello Leslie,<br><br>>> * Clang driver and target triple support.<br><br>>great, then it is able to generate ELF by $ /opt/llvm-svn/bin/clang -c --target=arc hello.c -o hello.o -mmcu=XXX<br><br>Basically yes, but we have not implemented the integrated assembler yet, so currently rely on an external ARC gnu toolchain.<br>Plus, there are a wide variety of subtargets that are basically unsupported until we start adding configuration support. <br>https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain<br><br>>and do you plan to implement ARC target for lld[1]? it is a good<br>>testcase: flash them directly to the chip[2], or simulator[3].<br><br>Supporting ARC in lld is a good question.  It has not been on my personal short-list, but if you (or others) are interested in specific features, that helps us.<br>I personally use the bare-metal simulator you sited, though the link you supplied doesn't seem to point out where to get it?<br>https://www.synopsys.com/cgi-bin/dwarcnsim/req1.cgi<br><br>Pete<br></div>