[lld] r328679 - [ELF] Fix offsets in comment of tls-got.s
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 27 17:03:21 PDT 2018
Author: maskray
Date: Tue Mar 27 17:03:21 2018
New Revision: 328679
URL: http://llvm.org/viewvc/llvm-project?rev=328679&view=rev
Log:
[ELF] Fix offsets in comment of tls-got.s
Modified:
lld/trunk/test/ELF/tls-got.s
Modified: lld/trunk/test/ELF/tls-got.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/tls-got.s?rev=328679&r1=328678&r2=328679&view=diff
==============================================================================
--- lld/trunk/test/ELF/tls-got.s (original)
+++ lld/trunk/test/ELF/tls-got.s Tue Mar 27 17:03:21 2018
@@ -25,13 +25,13 @@
// CHECK: Relocations [
// CHECK-NEXT: Section (4) .rela.dyn {
// CHECK-NEXT: 0x2020B8 R_X86_64_TPOFF64 tls0 0x0
-// CHECK-NEXT: [[ADDR]] R_X86_64_TPOFF64 tls1 0x0
+// CHECK-NEXT: 0x2020B0 R_X86_64_TPOFF64 tls1 0x0
// CHECK-NEXT: }
// CHECK-NEXT: ]
-//0x201000 + 4249 + 7 = 0x2020B0
-//0x20100A + 4247 + 7 = 0x2020B8
-//0x201014 + 4237 + 7 = 0x2020B8
+//0x201000 + 4265 + 7 = 0x2020B0
+//0x20100A + 4263 + 7 = 0x2020B8
+//0x201014 + 4253 + 7 = 0x2020B8
//DISASM: Disassembly of section .text:
//DISASM-NEXT: main:
//DISASM-NEXT: 201000: 48 8b 05 a9 10 00 00 movq 4265(%rip), %rax
More information about the llvm-commits
mailing list