Home | History | Annotate | Download | only in ld-aarch64
      1         .global tlsgdvar
      2         .section        .tbss,"awT",%nobits
      3         .align  2
      4         .type   tlsgdvar, %object
      5         .size   tlsgdvar, 4
      6 tlsgdvar:
      7         .zero   4
      8         .align  2
      9         .type   l_tlsgdvar, %object
     10         .size   l_tlsgdvar, 4
     11 l_tlsgdvar:
     12         .zero   4
     13 
     14 .text
     15 _test_tls_gd:
     16         // R_AARCH64_TLSGD_ADR_PAGE21         tldgdvar
     17         adrp x0, :tlsgd:tlsgdvar
     18         // R_AARCH64_TLSGD_ADD_LO12_NC        tlsgdvar
     19         add  x0, x0, :tlsgd_lo12:tlsgdvar
     20         // R_AARCH64_CALL26
     21         bl   __tls_get_addr
     22 
     23 _test_tls_gd_local:
     24        // R_AARCH64_TLSGD_ADR_PAGE21         l_tldgdvar
     25         adrp x0, :tlsgd:l_tlsgdvar
     26         // R_AARCH64_TLSGD_ADD_LO12_NC        l_tlsgdvar
     27         add  x0, x0, :tlsgd_lo12:l_tlsgdvar
     28         // R_AARCH64_CALL26
     29         bl   __tls_get_addr
     30 
     31