summaryrefslogtreecommitdiff
path: root/test/ELF/gnu-ifunc-plt.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/gnu-ifunc-plt.s')
-rw-r--r--test/ELF/gnu-ifunc-plt.s28
1 files changed, 14 insertions, 14 deletions
diff --git a/test/ELF/gnu-ifunc-plt.s b/test/ELF/gnu-ifunc-plt.s
index c7bd6b67b1150..cf46380d38945 100644
--- a/test/ELF/gnu-ifunc-plt.s
+++ b/test/ELF/gnu-ifunc-plt.s
@@ -10,17 +10,17 @@
// Check that the IRELATIVE relocations are after the JUMP_SLOT in the plt
// CHECK: Relocations [
// CHECK-NEXT: Section (4) .rela.plt {
-// CHECK-NEXT: 0x203018 R_X86_64_JUMP_SLOT bar2 0x0
-// CHECK-NEXT: 0x203020 R_X86_64_JUMP_SLOT zed2 0x0
-// CHECK-NEXT: 0x203028 R_X86_64_IRELATIVE - 0x201000
-// CHECK-NEXT: 0x203030 R_X86_64_IRELATIVE - 0x201001
+// CHECK-NEXT: 0x202018 R_X86_64_JUMP_SLOT bar2 0x0
+// CHECK-NEXT: 0x202020 R_X86_64_JUMP_SLOT zed2 0x0
+// CHECK-NEXT: 0x202028 R_X86_64_IRELATIVE - 0x201000
+// CHECK-NEXT: 0x202030 R_X86_64_IRELATIVE - 0x201001
// Check that .got.plt entries point back to PLT header
// GOTPLT: Contents of section .got.plt:
-// GOTPLT-NEXT: 203000 00202000 00000000 00000000 00000000 . .............
-// GOTPLT-NEXT: 203010 00000000 00000000 36102000 00000000 ........6. .....
-// GOTPLT-NEXT: 203020 46102000 00000000 56102000 00000000 F. .....V. .....
-// GOTPLT-NEXT: 203030 66102000 00000000
+// GOTPLT-NEXT: 202000 00302000 00000000 00000000 00000000
+// GOTPLT-NEXT: 202010 00000000 00000000 36102000 00000000
+// GOTPLT-NEXT: 202020 46102000 00000000 56102000 00000000
+// GOTPLT-NEXT: 202030 66102000 00000000
// Check that the PLTRELSZ tag includes the IRELATIVE relocations
// CHECK: DynamicSection [
@@ -39,19 +39,19 @@
// DISASM-NEXT: 201011: e8 2a 00 00 00 callq 42
// DISASM-NEXT: Disassembly of section .plt:
// DISASM-NEXT: .plt:
-// DISASM-NEXT: 201020: ff 35 e2 1f 00 00 pushq 8162(%rip)
-// DISASM-NEXT: 201026: ff 25 e4 1f 00 00 jmpq *8164(%rip)
+// DISASM-NEXT: 201020: ff 35 e2 0f 00 00 pushq 4066(%rip)
+// DISASM-NEXT: 201026: ff 25 e4 0f 00 00 jmpq *4068(%rip)
// DISASM-NEXT: 20102c: 0f 1f 40 00 nopl (%rax)
-// DISASM-NEXT: 201030: ff 25 e2 1f 00 00 jmpq *8162(%rip)
+// DISASM-NEXT: 201030: ff 25 e2 0f 00 00 jmpq *4066(%rip)
// DISASM-NEXT: 201036: 68 00 00 00 00 pushq $0
// DISASM-NEXT: 20103b: e9 e0 ff ff ff jmp -32 <.plt>
-// DISASM-NEXT: 201040: ff 25 da 1f 00 00 jmpq *8154(%rip)
+// DISASM-NEXT: 201040: ff 25 da 0f 00 00 jmpq *4058(%rip)
// DISASM-NEXT: 201046: 68 01 00 00 00 pushq $1
// DISASM-NEXT: 20104b: e9 d0 ff ff ff jmp -48 <.plt>
-// DISASM-NEXT: 201050: ff 25 d2 1f 00 00 jmpq *8146(%rip)
+// DISASM-NEXT: 201050: ff 25 d2 0f 00 00 jmpq *4050(%rip)
// DISASM-NEXT: 201056: 68 00 00 00 00 pushq $0
// DISASM-NEXT: 20105b: e9 e0 ff ff ff jmp -32 <.plt+0x20>
-// DISASM-NEXT: 201060: ff 25 ca 1f 00 00 jmpq *8138(%rip)
+// DISASM-NEXT: 201060: ff 25 ca 0f 00 00 jmpq *4042(%rip)
// DISASM-NEXT: 201066: 68 01 00 00 00 pushq $1
// DISASM-NEXT: 20106b: e9 d0 ff ff ff jmp -48 <.plt+0x20>