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

Michael Spencer via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 30 15:44:41 PDT 2016


Bigcheese created this revision.
Bigcheese added a reviewer: ruiu.
Bigcheese added a subscriber: llvm-commits.
Bigcheese added a project: lld.
Herald added a subscriber: emaste.

Implemented by building an ELF file in memory.

The -b formats 'elf', 'default', and 'binary' match gold behavior.

This is needed for a bunch of kernel drivers in FreeBSD.

https://reviews.llvm.org/D24060

Files:
  ELF/Config.h
  ELF/Driver.cpp
  ELF/Driver.h
  ELF/InputFiles.cpp
  ELF/InputFiles.h
  ELF/Options.td
  ELF/SimpleELFWriter.h
  ELF/SymbolTable.cpp
  test/elf/format-binary.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24060.69771.patch
Type: text/x-patch
Size: 13918 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160830/6e878b3e/attachment.bin>


More information about the llvm-commits mailing list