[AArch64][6/8] LD support BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC
[binutils-gdb.git] / ld / testsuite / ld-aarch64 / tls-small-ld.s
index 0a8b6b972fc3379051f76b53f94d5d19a4fa1de0..ed0668664f78e2a6e93f72f2db4145700da00bc5 100644 (file)
@@ -2,6 +2,7 @@
 
        .text
 func:
-       add     x1, x2, x3
+       // BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC
+       add     x1, x2, #:tlsldm_lo12_nc:dummy
        // BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21
        adrp    x0, :tlsldm:dummy