[AArch64] Fix test case ELF/aarch64-tls-le.s
authorLei Liu <lei.liu2@windriver.com>
Thu, 29 Sep 2016 02:01:27 +0000 (02:01 +0000)
committerLei Liu <lei.liu2@windriver.com>
Thu, 29 Sep 2016 02:01:27 +0000 (02:01 +0000)
The add instruction should be generated with shift bit (lsl #12).
Update the test case.

llvm-svn: 282671

lld/test/ELF/aarch64-tls-le.s

index 22bd0ef..23ed838 100644 (file)
@@ -18,7 +18,7 @@ _start:
 #CHECK: Disassembly of section .text:
 #CHECK: _start:
 #CHECK:  11000: 40 d0 3b d5     mrs     x0, TPIDR_EL0
-#CHECK:  11004: 00 00 00 91     add     x0, x0, #0
+#CHECK:  11004: 00 00 40 91     add     x0, x0, #0, lsl #12
 #CHECK:  11008: 00 40 00 91     add     x0, x0, #16
 
 .type   v1,@object