31294c88f87d57ad901c123ad3a9bd8c1d3f739e
[oota-llvm.git] / test / MC / Mips / elf_st_other.ll
1 ; This tests value of ELF st_other field for function symbol table entries.
2 ; For microMIPS value should be equal to STO_MIPS_MICROMIPS.
3
4 ; RUN: llc -mtriple mipsel-unknown-linux -mcpu=mips32r2 -mattr=+micromips -print-hack-directives %s -o - | FileCheck %s
5
6 define i32 @main() nounwind {
7 entry:
8   ret i32 0
9 }
10
11 ; CHECK:     .mips_hack_stocg main, 128