brintos

brintos / llvm-project-archived public Read only

0
0
Text · 475 B · 16d4d89 Raw
14 lines · plain
1# RUN: not llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -triple=mips 2>&1 -filetype=obj | FileCheck %s2 3# Two instructions, to check that this is not a fatal error4# CHECK: error: out of range PC16 fixup5# CHECK: error: out of range PC16 fixup6 7.text8  b foo9  b foo10  .space 131072 - 8, 1  # -8 = size of b instr plus size of automatically inserted nop11  nop                   # This instr makes the branch too long to fit into a 18-bit offset12foo:13  add $0,$0,$014