1# RUN: not llvm-mc -triple riscv32 -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s 2 3 jal a0, far_distant # CHECK: :[[@LINE]]:3: error: fixup value out of range 4 jal a0, unaligned # CHECK: :[[@LINE]]:3: error: fixup value must be 2-byte aligned 5 6 beq a0, a1, distant # CHECK: :[[@LINE]]:3: error: fixup value out of range 7 blt t0, t1, unaligned # CHECK: :[[@LINE]]:3: error: fixup value must be 2-byte aligned 8 9 .byte 0 10unaligned: 11 .byte 0 12 .byte 0 13 .byte 0 14 15 .space 1<<12 16distant: 17 .space 1<<20 18far_distant: 19