[PATCH] D128961: [llvm-objcopy] -O binary: align sh_offset for section changed from SHT_NOBITS

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 30 21:44:08 PDT 2022


MaskRay added inline comments.


================
Comment at: llvm/test/tools/llvm-objcopy/ELF/binary-no-paddr.test:9
 ## We don't implement this special rule. The p_paddr=0 output is the same as
 ## the p_paddr=1 case.
+# RUN: yaml2obj %s -o %t0
----------------
WIll change to:

For the p_paddr=0 case: .text and .data are rewritten to the same place. The size is 4.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128961



More information about the llvm-commits mailing list