2013-02-20 06:14:34 +08:00
|
|
|
; This tests value of ELF st_other field for function symbol table entries.
|
|
|
|
; For microMIPS value should be equal to STO_MIPS_MICROMIPS.
|
|
|
|
|
2014-01-26 12:14:50 +08:00
|
|
|
; RUN: llc -mtriple mipsel-unknown-linux -mcpu=mips32r2 -mattr=+micromips %s -o - | FileCheck %s
|
2013-02-20 06:14:34 +08:00
|
|
|
|
|
|
|
define i32 @main() nounwind {
|
|
|
|
entry:
|
|
|
|
ret i32 0
|
|
|
|
}
|
|
|
|
|
2014-01-25 23:06:56 +08:00
|
|
|
; CHECK: .set micromips
|
2014-01-14 12:25:13 +08:00
|
|
|
; CHECK: main:
|