Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / arm / tls.s
1         .text
2         .arm
3         .globl arm_fn
4         .type arm_fn, %function
5 arm_fn:
6 1:
7 .tlsdescseq  af
8         nop
9         ldr     r0, 1f
10 2:      blx     ae(tlscall)
11         nop
12
13 .arm_pool:
14         .word   aa(tlsgd) + (. - 1b - 8)
15         .word   ab(tlsldm) + (. - 1b- 8)
16         .word   ac(gottpoff) + (. - 1b - 8)
17         .word   ad(tpoff)
18 1:      .word   ae(tlsdesc) + (. - 2b)
19         
20         .thumb
21         .globl  thumb_fn
22         .type thumb_fn, %function
23 thumb_fn:
24         nop
25 1:      
26 .tlsdescseq tf
27         nop
28         ldr     r0, 1f
29 2:      blx     te(tlscall)
30         nop
31
32         .p2align 2
33 .Lpool:
34         .word   ta(tlsgd) + (. - 1b - 8)
35         .word   tb(tlsldm) + (. - 1b - 8)
36         .word   tc(gottpoff) + (. - 1b - 8)
37         .word   td(tpoff)
38 1:      .word   te(tlsdesc) + (. - 2b + 1)