kexec-tools: update to 2.0.21
[openwrt/openwrt.git] / package / boot / kexec-tools / patches / 100-kexec-tools-fix-for-Unhandled-rela-relocation-R_X86_64_PLT32-error.patch
diff --git a/package/boot/kexec-tools/patches/100-kexec-tools-fix-for-Unhandled-rela-relocation-R_X86_64_PLT32-error.patch b/package/boot/kexec-tools/patches/100-kexec-tools-fix-for-Unhandled-rela-relocation-R_X86_64_PLT32-error.patch
deleted file mode 100644 (file)
index dfad219..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-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: