1 @ RUN
: llvm-mc
-triple armv7-linux-gnu
-filetype obj
-o
- %s | llvm-readobj
-r \
3 @ RUN
: llvm-mc
-triple armv7-linux-gnu
-filetype asm
-o
- %s \
4 @ RUN
: | FileCheck
-check-prefix CHECK-ASM
%s
6 .type tlsdescseq,%function
17 .word variable(tlsdesc) + (. - 1b)
19 @ CHECK
: Relocations
[
20 @ CHECK
: 0x4 R_ARM_TLS_DESCSEQ variable
0x0
21 @ CHECK
: 0x8 R_ARM_TLS_DESCSEQ variable
0x0
22 @ CHECK
: 0xC R_ARM_TLS_DESCSEQ variable
0x0
23 @ CHECK
: 0x10 R_ARM_TLS_GOTDESC variable
0x0
26 @ CHECK-ASM
: ldr
r1, [pc
, #8]
27 @ CHECK-ASM
: .tlsdescseq variable
28 @ CHECK-ASM
: add r2, pc
, r1
29 @ CHECK-ASM
: .tlsdescseq variable
30 @ CHECK-ASM
: ldr
r3, [r1, #4]
31 @ CHECK-ASM
: .tlsdescseq variable