[PATCH] D60270: [llvm-objcopy] Add support for Intel HEX input/output format

Eugene Leviant via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 4 08:37:14 PDT 2019


evgeny777 created this revision.
evgeny777 added reviewers: jakehehrlich, rupprecht, jhenderson.
Herald added subscribers: MaskRay, arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a reviewer: alexshap.

We use IHEX to load ADSP firmware.

For implementation I used specification here:
http://www.interlog.com/~speff/usefulinfo/Hexfrmt.pdf

Also wiki article may seem useful
https://en.wikipedia.org/wiki/Intel_HEX


https://reviews.llvm.org/D60270

Files:
  test/tools/llvm-objcopy/ELF/Inputs/ihex-elf-pt-null.yaml
  test/tools/llvm-objcopy/ELF/Inputs/ihex-elf-sections.yaml
  test/tools/llvm-objcopy/ELF/Inputs/ihex-elf-sections2.yaml
  test/tools/llvm-objcopy/ELF/Inputs/ihex-elf-segments.yaml
  test/tools/llvm-objcopy/ELF/ihex-reader.test
  test/tools/llvm-objcopy/ELF/ihex-writer.test
  tools/llvm-objcopy/CopyConfig.cpp
  tools/llvm-objcopy/ELF/ELFObjcopy.cpp
  tools/llvm-objcopy/ELF/ELFObjcopy.h
  tools/llvm-objcopy/ELF/Object.cpp
  tools/llvm-objcopy/ELF/Object.h
  tools/llvm-objcopy/llvm-objcopy.cpp
  tools/llvm-objcopy/llvm-objcopy.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60270.193725.patch
Type: text/x-patch
Size: 49914 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190404/830c5e04/attachment-0001.bin>


More information about the llvm-commits mailing list