[PATCH] D110352: [llvm-objcopy] Rename relocation sections together with their targets.
Igor Kudrin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 24 10:04:10 PDT 2021
ikudrin updated this revision to Diff 374886.
ikudrin marked 3 inline comments as done.
ikudrin added a comment.
Thanks for the suggestions!
I've tried to integrate all of them, except for ignoring `SHF_ALLOC`. We should not automatically rename dynamic relocation sections because their names may not follow the typical pattern, e.g. `.rela.plt` targets `.got.plt`, and renaming them together seems wrong.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110352/new/
https://reviews.llvm.org/D110352
Files:
llvm/test/tools/llvm-objcopy/ELF/rename-section-relocsec.test
llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110352.374886.patch
Type: text/x-patch
Size: 5987 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210924/1d6587c5/attachment.bin>
More information about the llvm-commits
mailing list