1; Codegen version to check for ELF header flags.
2;
3; RUN: llc %s -mtriple=thumbv7-linux-gnueabi -relocation-model=pic \
4; RUN: -filetype=obj -o - | llvm-readobj -h | \
5; RUN: FileCheck %s
6
7define void @bar() nounwind {
8entry:
9  ret void
10}
11
12; For now the only e_flag set is EF_ARM_EABI_VER5
13; CHECK: ElfHeader {
14; CHECK:   Flags [ (0x5000000)
15