[PATCH] D24060: [lld][ELF] Add support for -b binary

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 8 08:54:50 PDT 2016


emaste added a comment.

One issue remains in using this for the FreeBSD kernel module build -- we don't specify the output format / emulation right now, because we build GNU ld with the output target compiled-in. This results in an error (see https://reviews.llvm.org/D24348 for my suggested improvement to the error message).

I think it's much better if we don't have to build the linker multiple times though (once for each supported target). The right thing for us to do is make the build pass in `-m`.


https://reviews.llvm.org/D24060





More information about the llvm-commits mailing list