Upload Tizen:Base source
[external/binutils.git] / ld / testsuite / ld-arm / tls-gdierelax.s
1         .text
2         .arm
3         .globl foo
4         .type foo, %function
5 foo:
6         ldr     r0, 1f
7 2:
8         blx     lib_gd2(tlscall) 
9         nop
10
11 1:
12         .word   lib_gd2(tlsdesc) + (. - 2b)
13
14         .thumb
15         .globl bar
16         .type bar, %function
17 bar:
18         ldr     r0,1f
19 2:
20         blx     lib_gd2(tlscall) 
21         nop
22
23         .p2align 2
24 1:
25         .word   lib_gd2(tlsdesc) + (. - 2b + 1)
26
27         .globl _start
28 _start:
29         
30         .section .tdata,"awT"
31         .global lib_gd2
32 lib_gd2:
33         .space  4
34