[PATCH] D153262: [llvm-objcopy] --set-section-flags: allow "large" to add SHF_X86_64_LARGE
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 5 12:20:27 PDT 2023
MaskRay added inline comments.
================
Comment at: llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp:89
+ return createStringError(errc::invalid_argument,
+ "section flag SHF_X86_64_LARGE can only be used "
+ "with x86_64 architecture");
----------------
This can be tested when you add a non-EM_X86_64 test.
`section flag 'large' ...` may be more appropriate since for a non-EM_X86_64 machine, the flag is not called `SHF_X86_64_LARGE`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153262/new/
https://reviews.llvm.org/D153262
More information about the llvm-commits
mailing list