Home | History | Annotate | Download | only in ld-arm
      1 	.text
      2 	.arm
      3 	.globl foo
      4 	.type foo, %function
      5 foo:
      6 	ldr	r0, 1f
      7 2:
      8 .tlsdescseq lib_gd2
      9 	add	r0, pc, r0
     10 .tlsdescseq lib_gd2
     11 	ldr	r1, [r0,#4]
     12 .tlsdescseq lib_gd2
     13 	blx	r1
     14 	nop
     15 
     16 1:
     17 	.word	lib_gd2(tlsdesc) + (. - 2b)
     18 
     19 	.thumb
     20 	.globl bar
     21 	.type bar, %function
     22 bar:
     23 	ldr	r0, 1f
     24 2:
     25 .tlsdescseq lib_gd2
     26 	add	r0, pc
     27 .tlsdescseq lib_gd2
     28 	ldr	r1, [r0,#4]
     29 .tlsdescseq lib_gd2
     30 	blx	r1
     31 	nop
     32 
     33 	.p2align 2
     34 1:
     35 	.word	lib_gd2(tlsdesc) + (. - 2b + 1)
     36 
     37 	.section .tdata,"awT"
     38 	.global lib_gd2
     39 lib_gd2:
     40 	.space	4
     41 
     42