[PATCH] D46217: [llvm-objcopy] Add --weaken option
Paul Semel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 27 15:42:31 PDT 2018
paulsemel created this revision.
paulsemel added reviewers: jakehehrlich, jhenderson, echristo, alexshap.
This option mark all global symbols as weaken.
This option follows the GNU objcopy `--weaken` option, as it doesn't mark the symbol as weak if this one is undefined (a relocation).
Repository:
rL LLVM
https://reviews.llvm.org/D46217
Files:
test/tools/llvm-objcopy/weaken-all.test
tools/llvm-objcopy/Opts.td
tools/llvm-objcopy/llvm-objcopy.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46217.144413.patch
Type: text/x-patch
Size: 4427 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180427/b49d17af/attachment.bin>
More information about the llvm-commits
mailing list