~angelsl/ubuntu/wily/binutils/mips-cross

« back to all changes in this revision

Viewing changes to ld/testsuite/ld-arm/tls-gdierelax2.s

  • Committer: angelsl
  • Date: 2015-11-03 15:54:40 UTC
  • Revision ID: angelsl-20151103155440-gbh6qo1olzlvaiqs
Import

Show diffs side-by-side

added added

removed removed

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