[PATCH] D153262: [llvm-objcopy] --set-section-flags: allow "large" to add SHF_X86_64_LARGE

Thomas Köppe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 3 07:04:40 PDT 2023


tkoeppe updated this revision to Diff 536757.
tkoeppe marked an inline comment as done.
tkoeppe added a comment.

Made `SHF_X86_64_LARGE` flag non-preserved only on x86_64; added tests that the section flag is unset when the corresponding command line flag is absent.


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

https://reviews.llvm.org/D153262

Files:
  llvm/include/llvm/ObjCopy/CommonConfig.h
  llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp
  llvm/test/tools/llvm-objcopy/ELF/rename-section-flag-osproc-mask.test
  llvm/test/tools/llvm-objcopy/ELF/set-section-flags.test
  llvm/tools/llvm-objcopy/ObjcopyOptions.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153262.536757.patch
Type: text/x-patch
Size: 8329 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230703/b421c99e/attachment.bin>


More information about the llvm-commits mailing list