summaryrefslogtreecommitdiff
path: root/test/MC/Mips/elf_st_other.ll
blob: bc56c0033e583861d1f9117afb9dd4ad5280cb48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; 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