~ubuntu-branches/ubuntu/utopic/binutils-arm64-cross/utopic

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/ld/testsuite/ld-aarch64/tls-relax-gdesc-ie.s

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-06-20 17:38:09 UTC
  • Revision ID: package-import@ubuntu.com-20130620173809-app8lzgvymy5fg6c
Tags: 0.7
Build-depend on binutils-source (>= 2.23.52.20130620-1~).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
        .global var
 
2
        .section        .tdata
 
3
var:
 
4
        .word   2
 
5
        .text
 
6
        adrp    x0, :tlsdesc:var
 
7
        ldr     x1, [x0, #:tlsdesc_lo12:var]
 
8
        add     x0, x0, :tlsdesc_lo12:var
 
9
        .tlsdesccall    var
 
10
        blr     x1
 
11
        mrs     x1, tpidr_el0
 
12
        add     x0, x1, x0
 
13
        ldr     w0, [x0]