diff options
Diffstat (limited to 'lld/test/ELF/format-binary.test')
-rw-r--r-- | lld/test/ELF/format-binary.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lld/test/ELF/format-binary.test b/lld/test/ELF/format-binary.test index 94b9b51afe7..311cd773a40 100644 --- a/lld/test/ELF/format-binary.test +++ b/lld/test/ELF/format-binary.test @@ -55,3 +55,9 @@ # CHECK-NEXT: Other: 0 # CHECK-NEXT: Section: Absolute # CHECK-NEXT: } + +# RUN: echo 'OUTPUT_FORMAT(elf64-x86-64)' > %t.script +# RUN: ld.lld -b binary %t.binary -T %t.script -o %t.out +# RUN: llvm-readobj %t.out -sections -section-data -symbols | FileCheck -check-prefix=X86-64 %s + +# X86-64: Format: ELF64-x86-64 |