[clang-tidy][modernize-use-starts-ends-with] Fix operator rewriting false negative...
[llvm-project.git] / lld / test / ELF / elf-header.s
blobaedbe43199fcaeb19be56d4ca522b1e8ebf9cda0
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3 # RUN: ld.lld %t.o -o %t1
4 # RUN: llvm-readobj --file-headers %t1 | FileCheck %s
6 # RUN: ld.lld %t.o --no-rosegment -o %t2
7 # RUN: llvm-readobj --file-headers %t2 | FileCheck %s
9 # CHECK: ElfHeader {
10 # CHECK-NEXT: Ident {
11 # CHECK-NEXT: Magic: (7F 45 4C 46)
12 # CHECK-NEXT: Class: 64-bit (0x2)
13 # CHECK-NEXT: DataEncoding: LittleEndian (0x1)
14 # CHECK-NEXT: FileVersion: 1
15 # CHECK-NEXT: OS/ABI: SystemV (0x0)
16 # CHECK-NEXT: ABIVersion: 0
17 # CHECK-NEXT: Unused: (00 00 00 00 00 00 00)
18 # CHECK-NEXT: }