2015-11-05 07:00:39 +08:00
|
|
|
@ RUN: llvm-mc < %s -triple thumbv5-linux-gnueabi -filetype=obj -o - \
|
|
|
|
@ RUN: | llvm-readobj -r | FileCheck %s
|
|
|
|
|
|
|
|
|
|
|
|
bl end
|
|
|
|
.space 0x3fffff
|
|
|
|
end:
|
|
|
|
|
|
|
|
bl end2
|
|
|
|
.space 0x3fffff
|
|
|
|
.global end2
|
|
|
|
end2:
|
|
|
|
|
|
|
|
bl end3
|
|
|
|
.space 0x400000
|
|
|
|
.global end3
|
|
|
|
end3:
|
|
|
|
|
2015-11-05 09:10:15 +08:00
|
|
|
bl end4
|
|
|
|
.space 0x400000
|
|
|
|
end4:
|
|
|
|
|
2015-11-05 07:00:39 +08:00
|
|
|
@ CHECK: 0x400003 R_ARM_THM_CALL end2 0x0
|
|
|
|
@ CHECK: 0x800006 R_ARM_THM_CALL end3 0x0
|
2015-11-05 09:10:15 +08:00
|
|
|
@ CHECK: 0xC0000A R_ARM_THM_CALL end4 0x0
|