[all-commits] [llvm/llvm-project] 6f1395: [llvm-objcopy] --set-section-flags: allow "large" ...
Thomas Köppe via All-commits
all-commits at lists.llvm.org
Tue Jul 25 09:47:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6f1395a1fef5533a5a8dfdb8621eab7de3922cc3
https://github.com/llvm/llvm-project/commit/6f1395a1fef5533a5a8dfdb8621eab7de3922cc3
Author: Thomas Köppe <tkoeppe at google.com>
Date: 2023-07-25 (Tue, 25 Jul 2023)
Changed paths:
M llvm/docs/CommandGuide/llvm-objcopy.rst
M llvm/include/llvm/ObjCopy/CommonConfig.h
M llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp
M llvm/test/tools/llvm-objcopy/ELF/rename-section-flag-osproc-mask.test
A llvm/test/tools/llvm-objcopy/ELF/set-section-flags-large-multiarch.test
M llvm/test/tools/llvm-objcopy/ELF/set-section-flags.test
M llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
M llvm/tools/llvm-objcopy/ObjcopyOpts.td
Log Message:
-----------
[llvm-objcopy] --set-section-flags: allow "large" to add SHF_X86_64_LARGE
Currently, objcopy cannot set the new flag SHF_X86_64_LARGE. This change introduces the named flag "large" which translates to that section flag.
An "invalid argument" error is produced if a user attempts to set the flag on an architecture other than X86_64.
Reviewed By: jhenderson, MaskRay
Differential Revision: https://reviews.llvm.org/D153262
More information about the All-commits
mailing list