[PATCH] D24060: [lld][ELF] Add support for -b binary
Rafael Espíndola via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 1 05:19:59 PDT 2016
> I agree with Rui here. I looked at what it would take to do it without
> creating an ELF file and it ends up touching a lot of code. Using the
> existing ELF machinery makes this a very isolated change for a special case
> feature. However if you see a simple way to implement it without ELF I'm
> fine with doing so.
Let me give it a try. I am opposed to having to invent an ELF file to
load things in. It would be equivalent to doing that for LTO IMHO.
Having said that, we do have two ELF writers in LLVM (MC and dwp), so
you can already try replacing both with the writer you wrote.
More information about the llvm-commits