From 786fb1bb524f43ea10c9e8d502f716fd29a3154c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D0=B8=D1=81=D1=82=D0=B0=D1=80=D1=85=20=D0=A4?= =?UTF-8?q?=D0=B5=D1=89=D1=83=D0=BA=D0=BE=D0=B2?= Date: Tue, 4 Apr 2017 16:23:08 +0300 Subject: [PATCH] Update relocs.c I can't compile kernel, because R_X86_64_JMP_SLOT is not defined, but R_X86_64_JMP_SLOT is defined. --- arch/x86/tools/relocs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/tools/relocs.c b/arch/x86/tools/relocs.c index 73eb7fd4aec48d..af6afd3412107d 100644 --- a/arch/x86/tools/relocs.c +++ b/arch/x86/tools/relocs.c @@ -199,7 +199,7 @@ static const char *rel_type(unsigned type) REL_TYPE(R_X86_64_PLT32), REL_TYPE(R_X86_64_COPY), REL_TYPE(R_X86_64_GLOB_DAT), - REL_TYPE(R_X86_64_JUMP_SLOT), + REL_TYPE(R_X86_64_JMP_SLOT), REL_TYPE(R_X86_64_RELATIVE), REL_TYPE(R_X86_64_GOTPCREL), REL_TYPE(R_X86_64_32),