2 # RUN: llvm-mc -filetype=obj -triple=hexagon-unknown-elf %s -o %t.o
3 # RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck --implicit-check-not "out of range" %s
6 .type _start, @function
9 # CHECK: relocation R_HEX_B9_PCREL out of range: 1028 is not in [-1024, 1023]
15 # CHECK: relocation R_HEX_B13_PCREL out of range: 16388 is not in [-16384, 16383]
16 if
(r0==#0) jump:t #1f
21 # CHECK: relocation R_HEX_B15_PCREL out of range: 65540 is not in [-65536, 65535]
27 # CHECK: relocation R_HEX_B22_PCREL out of range: 8388612 is not in [-2097152, 2097151]