<div dir="ltr">COFF lld doesn't support the linker script at the moment, and I'm sad to say that it is very unlikely to support that in the future. Linker script support is so huge that I can't imagine we really want it for COFF. GNU BFD linker supports it because the linker is built as an interpreter for the built-in linker script (and that's one of the reasons why GNU linker is by far more complicated than lld), but that's not the case for lld.<div><div><br></div><div>So, "support linker script" is a huge feature request that we are very unlikely to fulfill. But I don't think that you actually need all the features of the linker script. If you have some specific need, please explain. We may be able to help.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 7, 2018 at 3:10 PM, Andrew Kelley 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"><div dir="ltr"><div><div><div>Hello, I have a user who is trying to get LLD to link for the cygwin target: <a href="https://github.com/zig-lang/zig/issues/751" target="_blank">https://github.com/zig-lang/zi<wbr>g/issues/751</a><br><br></div>Currently the issue they are running into is needing to define a linker script, but the COFF driver (or MinGW driver) does not have support for that.<br><br></div>Is there documentation or advice for how to use LLD to link for cygwin? As a starting point, which driver to use?<br></div><div><br></div><div>Regards,</div><div>Andrew<br></div></div>
<br>______________________________<wbr>_________________<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/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div></div>