1RUN: llvm-readobj -h %p/Inputs/trivial.obj.elf-i386 --elf-output-style=GNU \ 2RUN: | FileCheck %s -check-prefix ELF32 3RUN: llvm-readobj -h %p/Inputs/trivial.obj.elf-x86-64 --elf-output-style=GNU \ 4RUN: | FileCheck %s -check-prefix ELF64 5 6ELF32: ELF Header: 7ELF32-NEXT: Magic: 7f 45 4c 46 01 01 01 03 00 00 00 00 00 00 00 00 8ELF32-NEXT: Class: ELF32 9ELF32-NEXT: Data: 2's complement, little endian 10ELF32-NEXT: Version: 1 (current) 11ELF32-NEXT: OS/ABI: UNIX - GNU 12ELF32-NEXT: ABI Version: 0 13ELF32-NEXT: Type: REL (Relocatable file) 14ELF32-NEXT: Machine: Intel 80386 15ELF32-NEXT: Version: 0x1 16ELF32-NEXT: Entry point address: 0x0 17ELF32-NEXT: Start of program headers: 0 (bytes into file) 18ELF32-NEXT: Start of section headers: 200 (bytes into file) 19ELF32-NEXT: Flags: 0x0 20ELF32-NEXT: Size of this header: 52 (bytes) 21ELF32-NEXT: Size of program headers: 0 (bytes) 22ELF32-NEXT: Number of program headers: 0 23ELF32-NEXT: Size of section headers: 40 (bytes) 24ELF32-NEXT: Number of section headers: 10 25ELF32-NEXT: Section header string table index: 7 26 27ELF64: ELF Header: 28ELF64-NEXT: Magic: 7f 45 4c 46 02 01 01 03 00 00 00 00 00 00 00 00 29ELF64-NEXT: Class: ELF64 30ELF64-NEXT: Data: 2's complement, little endian 31ELF64-NEXT: Version: 1 (current) 32ELF64-NEXT: OS/ABI: UNIX - GNU 33ELF64-NEXT: ABI Version: 0 34ELF64-NEXT: Type: REL (Relocatable file) 35ELF64-NEXT: Machine: Advanced Micro Devices X86-64 36ELF64-NEXT: Version: 0x1 37ELF64-NEXT: Entry point address: 0x0 38ELF64-NEXT: Start of program headers: 0 (bytes into file) 39ELF64-NEXT: Start of section headers: 184 (bytes into file) 40ELF64-NEXT: Flags: 0x0 41ELF64-NEXT: Size of this header: 64 (bytes) 42ELF64-NEXT: Size of program headers: 0 (bytes) 43ELF64-NEXT: Number of program headers: 0 44ELF64-NEXT: Size of section headers: 64 (bytes) 45ELF64-NEXT: Number of section headers: 10 46ELF64-NEXT: Section header string table index: 7 47