brintos

brintos / llvm-project-archived public Read only

0
0
Text · 493 B · aac076f Raw
14 lines · plain
1# RUN: not llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -triple=mips -mattr=+micromips 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 65536 - 6, 1   # -6 = size of b instr plus size of automatically inserted nop11  nop                   # This instr makes the branch too long to fit into a 17-bit offset12foo:13  add $0,$0,$014