[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / thumb2-beq-fixup.s
blobe6d43e8fed965d977e296a27a7f7e945a907c268
1 @ RUN: llvm-mc < %s -triple armv7-linux-gnueabi -filetype=obj -o - \
2 @ RUN: | llvm-readobj -r | FileCheck %s
4 .code 16
5 .thumb_func
6 thumb_caller:
7 beq.w internal_arm_fn
8 beq.w global_arm_fn
9 beq.w global_thumb_fn
10 beq.w internal_thumb_fn
12 .type internal_arm_fn,%function
13 .code 32
14 internal_arm_fn:
15 bx lr
17 .globl global_arm_fn
18 .type global_arm_fn,%function
19 .code 32
20 global_arm_fn:
21 bx lr
23 .type internal_thumb_fn,%function
24 .code 16
25 .thumb_func
26 internal_thumb_fn:
27 bx lr
29 .globl global_thumb_fn
30 .type global_thumb_fn,%function
31 .code 16
32 .thumb_func
33 global_thumb_fn:
34 bx lr
36 @ CHECK: Section (3) .rel.text
37 @ CHECK-NEXT: 0x0 R_ARM_THM_JUMP19 internal_arm_fn 0x0
38 @ CHECK-NEXT: 0x4 R_ARM_THM_JUMP19 global_arm_fn 0x0
39 @ CHECK-NEXT: }