[PATCH] D118189: [llvm-objcopy][COFF] Implement --update-section
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 27 14:17:09 PST 2022
MaskRay added a comment.
ELF has such a diagnostic
% fllvm-objcopy --update-section .bss=xxx a.o b.o
/tmp/RelA/bin/llvm-objcopy: error: 'a.o': section '.bss' can't be updated because it does not have contents
% objcopy --update-section .bss=xxx a.o b.o
objcopy: b.o[.bss]: section has no contents
PE/COFF may need something similar.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118189/new/
https://reviews.llvm.org/D118189
More information about the llvm-commits
mailing list