From 2458863e28c07e7463e940134989cd3648d09a1c Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Wed, 28 Mar 2018 00:03:21 +0000 Subject: [PATCH] [ELF] Fix offsets in comment of tls-got.s llvm-svn: 328679 --- lld/test/ELF/tls-got.s | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lld/test/ELF/tls-got.s b/lld/test/ELF/tls-got.s index b1686cd..a0261ee 100644 --- a/lld/test/ELF/tls-got.s +++ b/lld/test/ELF/tls-got.s @@ -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 -- 2.7.4