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
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)