[PATCH] D60042: [llvm-objcopy] Add --prefix-alloc-sections
Seiya Nuta via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 31 00:57:54 PDT 2019
seiya created this revision.
seiya added a reviewer: jakehehrlich.
Herald added subscribers: llvm-commits, MaskRay, arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a reviewer: alexshap.
Herald added a reviewer: rupprecht.
Herald added a reviewer: jhenderson.
Herald added a project: LLVM.
This patch adds support for --prefix-alloc-sections, which adds a prefix to every allocated section names.
It adds a prefix after renaming section names by `--rename-section` as GNU objcopy does.
Fixes PR41266: https://bugs.llvm.org/show_bug.cgi?id=41266
Repository:
rL LLVM
https://reviews.llvm.org/D60042
Files:
llvm/test/tools/llvm-objcopy/ELF/prefix-alloc-sections.test
llvm/test/tools/llvm-objcopy/ELF/rename-section-and-prefix-alloc-sections.test
llvm/tools/llvm-objcopy/COFF/COFFObjcopy.cpp
llvm/tools/llvm-objcopy/CopyConfig.cpp
llvm/tools/llvm-objcopy/CopyConfig.h
llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
llvm/tools/llvm-objcopy/ObjcopyOpts.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60042.192999.patch
Type: text/x-patch
Size: 5599 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190331/33778ffc/attachment.bin>
More information about the llvm-commits
mailing list