[llvm] [llvm-objcopy] Add --change-section-address (PR #98664)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 26 02:14:25 PDT 2024
================
@@ -303,6 +303,15 @@ them.
Shift LMA of non-zero-sized segments by ``<val>``.
+.. 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
----------------
jh7370 wrote:
Having seen this in practice, I think it might be clearer to split the "+" and "-" descriptions up. Something like the suggestion.
```suggestion
value, or apply ``+<val>``/``-<val>`` to the current value. Can be specified multiple
```
https://github.com/llvm/llvm-project/pull/98664
More information about the llvm-commits
mailing list