[llvm] Add adjustVMA option (PR #72870)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 8 01:49:45 PST 2024


================
@@ -483,6 +483,12 @@ them.
 
  Mark all defined global symbols as weak in the output.
 
+.. option:: --adjust-vma <value>
+  Add ``<value>`` to VMA and LMA address
+
+.. option:: --adjust-section-vma <name>{+|-|=}<value>
+  Adjust section ``<name>`` VMA and LMA address by ``<value>``
----------------
jh7370 wrote:

```suggestion
  Adjust section ``<name>`` VMA and LMA address by ``<value>``.
```
I think this could do with some elaboration regarding what `=` means in this context (presumably it means setting it to the value specified, but that isn't "adjust it by something").

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


More information about the llvm-commits mailing list