blob: 2f4edadfdf46dc69582413e3087f3b5b30d43586 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
.text
.arm
.globl foo
.type foo, %function
foo:
nop
3: ldr r0,1f
2: bl lib_gd2(tlscall)
nop
1:
.word lib_gd2(tlsdesc) + (. - 2b)
.word lib_gd2(gottpoff) + (. - 3b - 8)
.thumb
.globl bar
.type bar, %function
bar:
3: ldr r0,1f
2: blx lib_gd2(tlscall)
nop
.p2align 2
1:
.word lib_gd2(tlsdesc) + (. - 2b + 1)
.word lib_gd2(gottpoff) + (. - 3b - 4)
.globl _start
_start:
.section .tdata,"awT"
.global lib_gd2
lib_gd2:
.space 4
|