17 lines · plain
1# RUN: llvm-mc %s -filetype=obj -triple=mipsel-unknown-linux \2# RUN: -mattr=micromips | llvm-readobj -r - \3# RUN: | FileCheck %s4# CHECK: Relocations [5# CHECK: 0x0 R_MIPS_32 bar6# CHECK: 0x4 R_MIPS_32 L17 8 .set micromips9 .type bar,@function10bar:11L1:12 nop13 .data14 .4byte bar 15 .4byte L1 16 17