tstellar added a comment. I made a similar change to clang: https://reviews.llvm.org/rL346732, and I think this is the right direction to go. Repository: rLLD LLVM Linker CHANGES SINCE LAST ACTION https://reviews.llvm.org/D57406/new/ https://reviews.llvm.org/D57406