Commit | Line | Data |
---|---|---|
0855e32b NS |
1 | .arch armv4t |
2 | .syntax unified | |
3 | .text | |
4 | text: | |
5 | .arm | |
6 | ldr r0,1f | |
7 | 2: bl +loc(tlscall) | |
8 | nop | |
9 | .p2align 2 | |
10 | 1: .word loc(tlsdesc) + (. - 2b) | |
11 | ||
12 | .thumb | |
13 | ldr r0,1f | |
14 | 2: bl +loc(tlscall) | |
15 | nop | |
16 | .p2align 2 | |
17 | 1: .word loc(tlsdesc) + (. - 2b + 1) | |
18 | ||
19 | .section ".foo","ax" | |
20 | foo: | |
21 | .arm | |
22 | ldr r0,1f | |
23 | 2: bl +loc(tlscall) | |
24 | nop | |
25 | .p2align 2 | |
26 | 1: .word loc(tlsdesc) + (. - 2b) | |
27 | ||
28 | .arm | |
29 | ldr r0,1f | |
30 | 2: bl +glob(tlscall) | |
31 | nop | |
32 | .p2align 2 | |
33 | 1: .word glob(tlsdesc) + (. - 2b) | |
34 | ||
35 | .thumb | |
36 | ldr r0,1f | |
37 | 2: bl +loc(tlscall) | |
38 | nop | |
39 | .p2align 2 | |
40 | 1: .word loc(tlsdesc) + (. - 2b + 1) | |
41 | ||
42 | .section .tdata,"awT" | |
43 | loc: .space 4 |