<div dir="ltr">That's interesting. Usually your code wouldn't be gc'ed because your entire code is reachable from _start.<div><br></div><div>Does your program depend on the feature that, if no -e option is given, the linker sets the beginning of the .text section to the entry point address?<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 1, 2017 at 10:35 AM, Scott Shawcroft 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">Awesome! I got lld running but it GCed all my sections away. :-) I'll<br>
keep experimenting with it.<br>
<span class="HOEnZb"><font color="#888888">~Scott<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Mon, May 1, 2017, at 07:11 AM, Renato Golin wrote:<br>
> On 30 April 2017 at 23:47, Scott Shawcroft via llvm-dev<br>
> <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br>
> > Ok, thanks! I got it going that way. I'd still love to hear from anyone<br>
> > off list working on similar stuff.<br>
><br>
> Hi Scott,<br>
><br>
> Peter (CC'd) is implementing support for ARM32 on LLD. There are a few<br>
> missing pieces, but most support has been upstreamed already.<br>
><br>
> AFAIK, the most important missing features are range extension chunks<br>
> (important for large code base, like Clang) and better support for<br>
> linker script files (more important to embedded cases, like yours).<br>
><br>
> Apart from that, "it should just work". :)<br>
><br>
> Let us know if you find anything else. Adding a bug to bugzilla and<br>
> copying us (in this thread, including Rui, Joerg, me, Peter) would be<br>
> the best way to fix issues.<br>
><br>
> cheers,<br>
> --renato<br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">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/<wbr>mailman/listinfo/llvm-dev</a><br>
</div></div></blockquote></div><br></div>