1 @ RUN
: llvm-mc
< %s
-triple armv7-none-linux-gnueabi
-filetype
=obj | llvm-objdump
-triple armv7-none-linux-gnueabi
-r
- | FileCheck
%s
--check-prefix
=CHECK
--check-prefix
=ARM
2 @ RUN
: llvm-mc
< %s
-triple thumbv7-none-linux-gnueabi
-filetype
=obj | llvm-objdump
-triple thumbv7-none-linux-gnueabi
-r
- | FileCheck
%s
--check-prefix
=CHECK
--check-prefix
=THUMB
4 @ CHECK-LABEL
: RELOCATION RECORDS FOR
[.text]
10 @CHECK
: 0 R_ARM_ABS32 f00
11 @CHECK
: 4 R_ARM_ABS32 f01
16 @CHECK
: 8 R_ARM_NONE f02
17 @CHECK
: c R_ARM_NONE f03
22 @ARM
: 10 R_ARM_CALL f04
23 @ARM
: 14 R_ARM_CALL f05
24 @THUMB
: 10 R_ARM_THM_CALL f04
25 @THUMB
: 14 R_ARM_THM_CALL f05
30 @CHECK
: 18 R_ARM_GOT_BREL f06
31 @CHECK
: 1c R_ARM_GOT_BREL f07
36 @CHECK
: 20 R_ARM_GOTOFF32 f08
37 @CHECK
: 24 R_ARM_GOTOFF32 f09
42 @CHECK
: 28 R_ARM_TLS_LE32
f10
43 @CHECK
: 2c R_ARM_TLS_LE32
f11
48 @CHECK
: 30 R_ARM_TLS_GD32
f12
49 @CHECK
: 34 R_ARM_TLS_GD32
f13
54 @CHECK
: 38 R_ARM_TARGET1
f14
55 @CHECK
: 3c R_ARM_TARGET1
f15
60 @CHECK
: 40 R_ARM_TARGET2
f16
61 @CHECK
: 44 R_ARM_TARGET2
f17
66 @CHECK
: 48 R_ARM_PREL31
f18
67 @CHECK
: 4c R_ARM_PREL31
f19
72 @CHECK
: 50 R_ARM_TLS_LDO32
f20
73 @CHECK
: 54 R_ARM_TLS_LDO32
f21
78 @ CHECK
: 58 R_ARM_TLS_CALL
f22
79 @ CHECK
: 5c R_ARM_TLS_CALL
f23
84 @ CHECK
: 60 R_ARM_TLS_GOTDESC
f24
85 @ CHECK
: 64 R_ARM_TLS_GOTDESC
f25
90 @CHECK
: 68 R_ARM_PREL31
f26
91 @CHECK
: 6c R_ARM_PREL31
f27
96 @CHECK
: 70 R_ARM_TLS_LDM32
f28
97 @CHECK
: 74 R_ARM_TLS_LDM32
f29
100 .word f30(GOT_PREL) + (. - .Lsym)
101 ldr
r3, =f31(GOT_PREL
)
102 @ CHECK
: 78 R_ARM_GOT_PREL
f30
103 @ CHECK
: 80 R_ARM_GOT_PREL
f31