1// REQUIRES: arm 2// RUN: llvm-mc -filetype=obj -triple=thumbv7a-windows-gnu %s -o %t.obj 3// RUN: env LLD_IN_TEST=1 not lld-link -entry:_start -subsystem:console %t.obj -out:%t.exe 2>&1 | FileCheck %s 4 .syntax unified 5 .globl _start 6_start: 7 bne too_far20 8 .space 0x100000 9 .section .text$a, "xr" 10too_far20: 11 bx lr 12 13// When trying to add a thunk at the end of the section, the thunk itself 14// will be too far away, so this won't converge. 15 16// CHECK: adding thunks hasn't converged 17