llvm-6502/test/MC/ARM/elf-eflags-eabi-cg.ll
Jack Carter 97130e2b3d This patch implements runtime ARM specific
setting of ELF header e_flags.

Contributer: Jack Carter
 


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173885 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-30 02:24:33 +00:00

14 lines
336 B
LLVM

; Codegen version to check for ELF header flags.
;
; RUN: llc %s -mtriple=thumbv7-linux-gnueabi -relocation-model=pic \
; RUN: -filetype=obj -o - | elf-dump --dump-section-data | \
; RUN: FileCheck %s
define void @bar() nounwind {
entry:
ret void
}
; For now the only e_flag set is EF_ARM_EABI_VER5
;CHECK: 'e_flags', 0x05000000