Home | History | Annotate | Download | only in Mips
      1 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 \
      2 # RUN:   -mattr=+micromips -filetype=obj -o - | llvm-readobj -t | FileCheck %s
      3   .text
      4   .set micromips
      5 f:
      6   nop
      7 g:
      8   .section .text
      9 h:
     10   nop
     11 
     12 # CHECK: Symbols [
     13 # CHECK:   Symbol {
     14 # CHECK:     Name: f
     15 # CHECK:     Binding: Local
     16 # CHECK:     Type: None
     17 # CHECK:     Other [ (0x80)
     18 # CHECK:       STO_MIPS_MICROMIPS
     19 # CHECK:     ]
     20 # CHECK:     Section: .text
     21 # CHECK:   }
     22 # CHECK:   Symbol {
     23 # CHECK:     Name: g
     24 # CHECK:     Binding: Local
     25 # CHECK:     Type: None
     26 # CHECK:     Other: 0
     27 # CHECK:     Section: .text
     28 # CHECK:   }
     29 # CHECK:   Symbol {
     30 # CHECK:     Name: h
     31 # CHECK:     Binding: Local
     32 # CHECK:     Type: None
     33 # CHECK:     Other [ (0x80)
     34 # CHECK:       STO_MIPS_MICROMIPS
     35 # CHECK:     ]
     36 # CHECK:     Section: .text
     37 # CHECK:   }
     38 # CHECK: ]
     39 
     40