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: 128
     30 # CHECK:     Section: .text
     31 # CHECK:   }
     32 # CHECK:   Symbol {
     33 # CHECK:     Name: h
     34 # CHECK:     Binding: Local
     35 # CHECK:     Type: None
     36 # CHECK:     Other: 0
     37 # CHECK:     Section: .text
     38 # CHECK:   }
     39 # CHECK:   Symbol {
     40 # CHECK:     Name: i
     41 # CHECK:     Binding: Local
     42 # CHECK:     Type: None
     43 # CHECK:     Other: 128
     44 # CHECK:     Section: .text
     45 # CHECK:   }
     46 # CHECK:   Symbol {
     47 # CHECK:     Name: j
     48 # CHECK:     Binding: Local
     49 # CHECK:     Type: None
     50 # CHECK:     Other: 0
     51 # CHECK:     Section: .text
     52 # CHECK:   }
     53 # CHECK: ]
     54 
     55