[PATCH] D71035: [llvm-objcopy][ELF] -O binary: use LMA instead of sh_offset to decide where to write section contents

Jordan Rupprecht via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 13 11:10:17 PST 2019


rupprecht added a reviewer: evgeny777.
rupprecht added a comment.

In D71035#1783196 <https://reviews.llvm.org/D71035#1783196>, @jhenderson wrote:

> In D71035#1783026 <https://reviews.llvm.org/D71035#1783026>, @MaskRay wrote:
>
> > Is it ok for me to commit if there is still no other people interested in this patch for, say, 10 hours?  😂
> >
> > I tested it on an internal `objcopy -I ihex -O binary` use case that motivated me to send the patch. With this patch, the section content layout is now the same.
>
>
> Let's give it until after the weekend. We've been stung on a few occasions by issues with binary output, so I want to give people ample opportunity to point out anything else we've missed!


+1 to just committing after the weekend. Since you mentiond ihex, adding Eugene who implemented the reading/writing so might have something to say about the patch, although it looks like this the ihex patches didn't touch binary output.

Do you have a reduced ihex test case to add too?

I'll watch out for other failures internally post-commit.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71035





More information about the llvm-commits mailing list