From: Joerg Roedel Date: Thu, 9 Aug 2018 09:44:49 +0000 (+0200) Subject: x86/relocs: Add __end_rodata_aligned to S_REL X-Git-Tag: v5.15~8283^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a29dba161ad1a01bbfbc80aa184b089ddd169a4e;p=platform%2Fkernel%2Flinux-starfive.git x86/relocs: Add __end_rodata_aligned to S_REL This new symbol needs to be in the workaround-list for buggy binutils, otherwise the build with gcc-4.6 fails. Fixes: 39d668e04eda ('x86/mm/pti: Make pti_clone_kernel_text() compile on 32 bit') Reported-by: Stephen Rothwell Signed-off-by: Joerg Roedel Signed-off-by: Thomas Gleixner Tested-by: Sedat Dilek Cc: "H. Peter Anvin" Cc: Peter Zijlstra Cc: Linux-Next Mailing List Link: https://lkml.kernel.org/r/20180809094449.ddmnrkz7qkvo3j2x@suse.de --- diff --git a/arch/x86/tools/relocs.c b/arch/x86/tools/relocs.c index 220e978..3a6c8eb 100644 --- a/arch/x86/tools/relocs.c +++ b/arch/x86/tools/relocs.c @@ -67,6 +67,7 @@ static const char * const sym_regex_kernel[S_NSYMTYPES] = { "__tracedata_(start|end)|" "__(start|stop)_notes|" "__end_rodata|" + "__end_rodata_aligned|" "__initramfs_start|" "(jiffies|jiffies_64)|" #if ELF_BITS == 64