[PATCH] D72128: [llvm-objcopy][ELF] Allow setting SHF_EXCLUDE flag for ELF sections
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 12 11:20:54 PST 2020
MaskRay added a comment.
Heads-up: GNU objcopy>=2.35 will support `--set-section-flags=exclude`. https://sourceware.org/ml/binutils/2020-02/msg00195.html
The current version does not remove 0x80000000 (SHF_EXCLUDE) when `exclude` is not specified, but it seems that Nick may want to fix this for architectures other than ARM/MIPS/PARISC.
The value 0x80000000 may be unfortunate. `.debug_*.dwo` uses the flag. From the discussions I don't think the llvm-objcopy vs GNU objcopy difference will cause any trouble.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72128/new/
https://reviews.llvm.org/D72128
More information about the llvm-commits
mailing list