1 # RUN: llvm-mc %s -filetype=obj -triple=xtensa | llvm-readobj -h - \
4 # CHECK: Format: elf32-xtensa
5 # CHECK-NEXT: Arch: xtensa
6 # CHECK-NEXT: AddressSize: 32bit
9 # CHECK-NEXT: Magic: (7F 45 4C 46)
10 # CHECK-NEXT: Class: 32-bit (0x1)
11 # CHECK-NEXT: DataEncoding: LittleEndian (0x1)
12 # CHECK-NEXT: FileVersion: 1
13 # CHECK-NEXT: OS/ABI: SystemV (0x0)
14 # CHECK-NEXT: ABIVersion: 0
15 # CHECK-NEXT: Unused: (00 00 00 00 00 00 00)
17 # CHECK-NEXT: Type: Relocatable (0x1)
18 # CHECK-NEXT: Machine: EM_XTENSA (0x5E)
19 # CHECK-NEXT: Version: 1
20 # CHECK-NEXT: Entry: 0x0
21 # CHECK-NEXT: ProgramHeaderOffset: 0x0
22 # CHECK-NEXT: SectionHeaderOffset: 0x5C
23 # CHECK-NEXT: Flags [ (0x0)
25 # CHECK-NEXT: HeaderSize: 52
26 # CHECK-NEXT: ProgramHeaderEntrySize: 0
27 # CHECK-NEXT: ProgramHeaderCount: 0
28 # CHECK-NEXT: SectionHeaderEntrySize: 40
29 # CHECK-NEXT: SectionHeaderCount: 4
30 # CHECK-NEXT: StringTableSectionIndex: 1