3 ms·
LLD is really three different linkers combined. You specify which type you want with the "flavor" command line option [1], but there are also versions of the li
by j4_james 10y ago
LLD is really three different linkers combined. You specify which type you want with the "flavor" command line option [1], but there are also versions of the linker with the flavor hard-coded (these vary depending on the platform).
My understanding is that the darwin flavor uses the atom-based architecture, while the gnu and windows/link flavors use a section-based architecture. There was a thread on the llvm-dev mailing list that explains this in more detail. [2]
I don't know much about the linker script side of things, but I was under the impression that they were working on that.
[1] http://lld.llvm.org/Driver.html http://lld.llvm.org/Driver.html
[2] http://lists.llvm.org/pipermail/llvm-dev/2015-May/085088.html http://lists.llvm.org/pipermail/llvm-dev/2015-May/085088.htm...