llvm-project
llvm-project copied to clipboard
Support ihex format
| Bugzilla Link | 39841 |
| Resolution | FIXED |
| Resolved on | Aug 20, 2019 16:57 |
| Version | trunk |
| OS | Linux |
| CC | @alexshap,@jh7370,@rupprecht |
| Fixed by commit(s) | rL363243 |
Extended Description
Some users of objcopy (I think mostly embedded) rely on the ihex [1] format in their toolchains.
e.g. generating ihex: clang -o foo foo.o && llvm-objcopy -O ihex foo foo.hex converting to binary: llvm-objcopy -I ihex -O binary foo.hex foo.bin
We already have {Binary,ELF}{Reader,Writer} classes, this would require a third Ihex{Reader,Writer}.
[1] https://en.wikipedia.org/wiki/Intel_HEX
mentioned in issue llvm/llvm-bugzilla-archive#41438
Added a while ago
Patch up: https://reviews.llvm.org/D60270
assigned to @eleviant