<div dir="ltr">I guess I will ask the obvious question: Can Swift be migrated to the .deplibs feature that was added to ELF LLD instead?<br><div><br></div><div>I don't know the answer to your original question, unfortunately.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 6, 2019 at 11:48 AM Sameer Abu Asal via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello llvm\lld, <div><br></div><div><br></div><div>The autlolink feature in swift appends a section to the obj files (.swift1_autolink_entries) that is later need to determine what t link against in the final linked binary.</div><div><br></div><div>I am trying to get rid of these section in the final linked binary at link time. I understand this could be done with (llvm-objcopy --remove-section=.swift1_autolink_entries) but would like have the linker<br></div><div>do it. <br><br>Is there an attribute I can set in that section that the linker can safely drop such a section?</div><div><br></div><div>Thank you,</div><div><br></div><div><br></div><div><br></div><div><br clear="all"><div><div dir="ltr"><div dir="ltr"><br></div></div></div></div></div>
_______________________________________________<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="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>