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

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 26 01:06:45 PDT 2024


================
@@ -0,0 +1,55 @@
+# RUN: yaml2obj %s -o %t
+# RUN: llvm-objcopy --change-section-lma *+0x20 %t %t2
+# RUN: llvm-readelf -l %t2 | FileCheck %s --check-prefix=CHECK-PLUS
+# RUN: llvm-objcopy --change-section-lma *-0x10 %t2 %t3
----------------
jh7370 wrote:

It might be a little easier to follow if all test cases start from %t.

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


More information about the llvm-commits mailing list