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 nomicromips
      5 f:
      6   nop
      7 g:
      8   .set micromips
      9   nop
     10 h:
     11   .word 0
     12 i:
     13   nop
     14 j:
     15   .set nomicromips
     16   nop
     17 # CHECK: Symbols [
     18 # CHECK:   Symbol {
     19 # CHECK:     Name: f
     20 # CHECK:     Binding: Local
     21 # CHECK:     Type: None
     22 # CHECK:     Other: 0
     23 # CHECK:     Section: .text
     24 # CHECK:   }
     25 # CHECK:   Symbol {
     26 # CHECK:     Name: g
     27 # CHECK:     Binding: Local
     28 # CHECK:     Type: None
     29 # CHECK:     Other [ (0x80)
     30 # CHECK:       STO_MIPS_MICROMIPS
     31 # CHECK:     ]
     32 # CHECK:     Section: .text
     33 # CHECK:   }
     34 # CHECK:   Symbol {
     35 # CHECK:     Name: h
     36 # CHECK:     Binding: Local
     37 # CHECK:     Type: None
     38 # CHECK:     Other: 0
     39 # CHECK:     Section: .text
     40 # CHECK:   }
     41 # CHECK:   Symbol {
     42 # CHECK:     Name: i
     43 # CHECK:     Binding: Local
     44 # CHECK:     Type: None
     45 # CHECK:     Other [ (0x80)
     46 # CHECK:       STO_MIPS_MICROMIPS
     47 # CHECK:     ]
     48 # CHECK:     Section: .text
     49 # CHECK:   }
     50 # CHECK:   Symbol {
     51 # CHECK:     Name: j
     52 # CHECK:     Binding: Local
     53 # CHECK:     Type: None
     54 # CHECK:     Other: 0
     55 # CHECK:     Section: .text
     56 # CHECK:   }
     57 # CHECK: ]
     58 
     59