[llvm] [llvm-objcopy] Support SREC output format (PR #75874)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 19 01:06:01 PST 2024


================
@@ -29,11 +17,7 @@
 # RUN: not llvm-objcopy -O srec --set-start=0xFFFFFFFF0F000000 %t - 2>&1 \
 #   RUN: | FileCheck %s --check-prefix=BAD_EXTENDED_START
 
-## Records should use segment physical addresses
-# RUN: yaml2obj %p/Inputs/ihex-elf-segments.yaml -o %t.seg
-# RUN: llvm-objcopy -O srec %t.seg - | FileCheck %s --check-prefix=PADDR
-
-## # The record type for the header should be S0 with a 2 byte address
+## The record type for the header should be S0 with a 2 byte address
 ## of 0. For an output file named "-" the header data field should contain "2D"
----------------
jh7370 wrote:

```suggestion
## of 0. For an output file named "-" the header data field should contain "2D".
```

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


More information about the llvm-commits mailing list