[llvm] [llvm-objcopy] Let --change-section-lma change segments wth filesz=0,… (PR #127724)

Jonathon Penix via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 26 11:12:01 PST 2025


================
@@ -72,8 +80,19 @@ ProgramHeaders:
     LastSec:       .text2
   - Type:          PT_NOTE
     FileSize:      0x10
+    MemSize:       0x10
     VAddr:         0x1200
     Offset:        0x358
   - Type:          PT_NOTE
     FileSize:      0x0
+    MemSize:       0x0
     Offset:        0x368
+  - Type:          PT_LOAD
+    VAddr:         0x1300
+    FirstSec:      .bss1
+    LastSec:       .bss1
+  - Type:          PT_NOTE
+    FileSize:      0x10
+    MemSize:       0x0
+    VAddr:         0x1400
----------------
jonathonpenix wrote:

Removed

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


More information about the llvm-commits mailing list