[llvm-objcopy] Make section rename/set flags case-insensitive
authorJames Henderson <jh7370@my.bristol.ac.uk>
Wed, 3 Apr 2019 14:40:27 +0000 (14:40 +0000)
committerJames Henderson <jh7370@my.bristol.ac.uk>
Wed, 3 Apr 2019 14:40:27 +0000 (14:40 +0000)
commitd931cf3e46fdc75456a10d1cc26369385a3b649e
tree6bc5e6e3c52396d83ce3bb47af3ef4b3b93c9893
parent7f036ab754f154740bc7c62f1aa55804371db588
[llvm-objcopy] Make section rename/set flags case-insensitive

This fixes https://bugs.llvm.org/show_bug.cgi?id=41305. GNU objcopy
--set-section-flags/--rename-section flags are case-insensitive, so this
patch updates llvm-objcopy to match.

Reviewed by: grimar

Differential Revision: https://reviews.llvm.org/D60200

llvm-svn: 357590
llvm/test/tools/llvm-objcopy/ELF/rename-section-flag.test
llvm/test/tools/llvm-objcopy/ELF/set-section-flags.test
llvm/tools/llvm-objcopy/CopyConfig.cpp