[llvm] [llvm-objcopy] Add change-section-lma *+/-offset (PR #95431)

Eleanor Bonnici via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 18 08:51:30 PDT 2024


================
@@ -670,6 +670,13 @@ static Error handleArgs(const CommonConfig &Config, const ELFConfig &ELFConfig,
     }
   }
 
+  if (Config.ChangeSectionLMAValAll != 0) {
+    for (auto &Seg : Obj.segments()) {
----------------
eleanor-arm wrote:

Fixed

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


More information about the llvm-commits mailing list