[llvm-dev] Extending llvm-objcopy to support Mach-O

Martin Storsjö via llvm-dev llvm-dev at lists.llvm.org
Tue Oct 2 11:25:30 PDT 2018


On Mon, 1 Oct 2018, Alexander Shaposhnikov via llvm-dev wrote:

> Currently, llvm-objcopy only supports ELF files while binutils' objcopy can
> handle Mach-O files as well.

binutils' objcopy also supports COFF

> Any thoughts, concerns, or strong preferences ?

No particular, except that I'm considering having a go at starting to 
implement COFF codepaths for this as well (mainly for a strip tool, and 
for the --only-keep-debug and --add-gnu-debuglink actions). I might (no 
guarantees though) start working on that within a few months, unless 
there's already someone else working on that. (I remember seeing some 
other discussions about that but nothing that ever made it into patches.)

// Martin



More information about the llvm-dev mailing list