[PATCH] D101332: [llvm-objcopy] Keep ihex sections with same address

Eugene Leviant via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 10 04:28:27 PDT 2021


evgeny777 added inline comments.


================
Comment at: llvm/tools/llvm-objcopy/ELF/Object.cpp:180
+namespace internal {
+bool SectionCompare::operator()(const SectionBase *Lhs,
+                                const SectionBase *Rhs) const {
----------------
With this change you start using section offset/index instead of address for IHexWriter. Why? Is this something GNU objcopy does?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101332



More information about the llvm-commits mailing list