[PATCH] D132541: [llvm-objcopy] Introduce 'ihex-flat' output format.

Simon Tatham via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 24 05:39:17 PDT 2022


simon_tatham added a comment.

Absolutely, I agree. Off the top of my head, the most obvious continuing use case for x86-16 is first-stage bootloaders that the PC BIOS runs in real mode. I've no idea what tools people typically use for those these days, but I wouldn't have a hard time at all believing that it might turn out to be a hodgepodge of bits and pieces from all over the place.

And I suppose that in //that// use case, the problem I mentioned with the entry point representation is moot anyway, because you don't get a choice about the entry point of an MBR boot sector – it's fixed at 0000:7C00 (or maybe 07C0:0000, I shamefully forget which). So you'd never need to retrieve it from the ihex file to pass on to something else.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132541/new/

https://reviews.llvm.org/D132541



More information about the llvm-commits mailing list