llvm-6502/test/MC/Mips/elf_st_other.ll
2013-04-12 04:06:46 +00:00

13 lines
368 B
LLVM

; This tests value of ELF st_other field for function symbol table entries.
; For microMIPS value should be equal to STO_MIPS_MICROMIPS.
; RUN: llc -filetype=obj -mtriple mipsel-unknown-linux -mcpu=mips32r2 -mattr=+micromips %s -o - | llvm-readobj -t | FileCheck %s
define i32 @main() nounwind {
entry:
ret i32 0
}
; CHECK: Name: main
; CHECK: Other: 128