[ELF] Fix offsets in comment of tls-got.s

llvm-svn: 328679
This commit is contained in:
Fangrui Song 2018-03-28 00:03:21 +00:00
parent 37307b450f
commit 2458863e28
1 changed files with 4 additions and 4 deletions

View File

@ -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