You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
506 B
Diff
15 lines
506 B
Diff
5 years ago
|
diff --git a/kexec/arch/x86_64/kexec-elf-rel-x86_64.c b/kexec/arch/x86_64/kexec-elf-rel-x86_64.c
|
||
|
index 7fdde73..af33689 100644
|
||
|
--- a/kexec/arch/x86_64/kexec-elf-rel-x86_64.c
|
||
|
+++ b/kexec/arch/x86_64/kexec-elf-rel-x86_64.c
|
||
|
@@ -78,7 +78,8 @@ void machine_apply_elf_rel(struct mem_ehdr *UNUSED(ehdr),
|
||
|
if ((int64_t)value != *(int32_t *)location)
|
||
|
goto overflow;
|
||
|
break;
|
||
|
- case R_X86_64_PC32:
|
||
|
+ case R_X86_64_PC32:
|
||
|
+ case R_X86_64_PLT32:
|
||
|
*(uint32_t *)location = value - address;
|
||
|
break;
|
||
|
default:
|