[llvm-objcopy][docs] Add missing options to the help output and the command guide
authorgbreynoo <Owen.Reynolds@sony.com>
Fri, 24 Sep 2021 08:36:47 +0000 (09:36 +0100)
committergbreynoo <Owen.Reynolds@sony.com>
Fri, 24 Sep 2021 08:44:46 +0000 (09:44 +0100)
commit3bad9616aa52aa467e4f1fb5c00abac6acba8471
tree35a16d0c60df19c68f6e8fdeab1102c3706d7938
parentefb284c07e97776e01933f470afb5215a561db3e
[llvm-objcopy][docs] Add missing options to the help output and the command guide

This change is to keep the help text and command guide of objcopy in
tandem.

- In the help output the options --rename-section and
  --set-section-flags were missing the flag exclude, which is found in
  the command guide.
- In the command guide the alias -G for --keep-global-symbol was
    missing, which is found in the help output.

Differential Revision: https://reviews.llvm.org/D110340
llvm/docs/CommandGuide/llvm-objcopy.rst
llvm/tools/llvm-objcopy/ObjcopyOpts.td