Xamarin Public Jenkins (auto-signing) e19d552987 Imported Upstream version 5.18.0.161
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
2018-10-19 08:34:24 +00:00

44 lines
791 B
ArmAsm

@ RUN: not llvm-mc %s -triple thumbv5-linux-gnueabi -filetype=obj -o /dev/null 2>&1 | FileCheck %s
.code 16
bl end
.space 0x1ffffff
end:
bl end2
.space 0x1ffffff
.global end2
end2:
bl end3
.space 0x2000000
.global end3
end3:
// CHECK-NOT: error
// CHECK: [[@LINE+1]]:{{[0-9]}}: error: Relocation out of range
bl end4
// CHECK-NOT: error
.space 0x2000000
end4:
start1:
.space 0x1fffffc
bl start1
.global start2
start2:
.space 0x1fffffc
bl start2
.global start3
start3:
.space 0x1fffffd
bl start3
start4:
.space 0x1fffffd
// CHECK: [[@LINE+1]]:{{[0-9]}}: error: Relocation out of range
bl start4