[PATCH] D56650: [lld] [ELF] Support customizing behavior on target triple

Kamil Rytarowski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 30 12:35:02 PST 2019


krytarowski added a comment.

In D56650#1377546 <https://reviews.llvm.org/D56650#1377546>, @ruiu wrote:

> If you still need to patch GNU ld, it doesn't seems like this patch makes things easier for you. (But even if this would make it easier for you, this patch's approach is not okay by design though.)


If we can get standalone lld functional out of the box and respecting target, we no longer need to patch GCC/LD/distribution/3rd-party-software.

If there is a strong feeling to retain lld ELF target as it is, we can grow a custom target like Darwin/Windows and specify customization there. The mentioned Darwin adds /usr/lib in the linker directly.  We need analogous opportunity on our end.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56650/new/

https://reviews.llvm.org/D56650





More information about the cfe-commits mailing list