[PATCH] D129336: [llvm-objcopy][ELF] Allow --set-section-flags src=... and --rename-section src=tst

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 7 17:28:16 PDT 2022


MaskRay created this revision.
MaskRay added a reviewer: jhenderson.
Herald added subscribers: StephenFan, abrachet, hiraditya, emaste.
Herald added a reviewer: alexander-shaposhnikov.
Herald added a reviewer: rupprecht.
Herald added a project: All.
MaskRay requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

GNU objcopy supports the combination and --set-section-flags runs first.

Rename set-section-flags-and-rename.test to
set-section-attr-and-rename.test and additionally test --set-section-alignment


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D129336

Files:
  llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp
  llvm/test/tools/llvm-objcopy/ELF/set-section-attr-and-rename.test
  llvm/test/tools/llvm-objcopy/ELF/set-section-flags-and-rename.test
  llvm/tools/llvm-objcopy/ObjcopyOptions.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129336.443093.patch
Type: text/x-patch
Size: 7625 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220708/e63ca512/attachment.bin>


More information about the llvm-commits mailing list