[llvm] [llvm-objcopy] Add --change-section-address (PR #98664)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 29 02:45:28 PDT 2024


================
@@ -305,12 +305,12 @@ them.
 
 .. option:: --change-section-address <section>{=+-}<val>, --adjust-section-vma
 
- Change the address of sections that match``<section>`` pattern to the specified
- value, or apply ``+-<val>`` to the current value. Can be specified multiple
- times to specify multiple patterns. Each section is only modified by one
- ``--change-section-address`` argument. Changes apply from the right of the
- command line. If a section name matches multiple patterns, the rightmost change
- applies. The object file needs to be of ET_REL type.
+ Change the address of sections that match ``<section>`` pattern to the
+ specified value, or apply ``+<val>``/``-<val>`` to the current value. Can be
+ specified multiple times to specify multiple patterns. Each section is only
+ modified by one ``--change-section-address`` argument. Changes apply from the
+ right of the command line. If a section name matches multiple patterns, the
----------------
jh7370 wrote:

I think the sentence "Changes apply from the right of the command line" is redundant, given the next sentence?

https://github.com/llvm/llvm-project/pull/98664


More information about the llvm-commits mailing list