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

Eleanor Bonnici via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 5 06:24:00 PDT 2024


================
@@ -0,0 +1,52 @@
+# RUN: yaml2obj %s -o %t
----------------
eleanor-arm wrote:

I see. For point 3, I will add another non-zero-size NOTE header in fixup 4 that is independent from the LOAD headers.
As mentioned before in other places I don't see a meaning in GNU's objcopy actual behaviour with this particular option. However, I defined what the LLVM version will do based on GNU documentation, some bits and pieces of GNU behaviour and how I saw the option being used in real software. 

The zero-size NOTE is already independent as it automatically gets virtual address of 0x0. 

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


More information about the llvm-commits mailing list