[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-a29dba161ad1a01bbfbc80aa184b089ddd169a4e@git.kernel.org>
Date: Thu, 9 Aug 2018 11:45:57 -0700
From: tip-bot for Joerg Roedel <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: tglx@...utronix.de, sfr@...b.auug.org.au,
linux-next@...r.kernel.org, sedat.dilek@...il.com, hpa@...or.com,
jroedel@...e.de, peterz@...radead.org, mingo@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip:x86/pti] x86/relocs: Add __end_rodata_aligned to S_REL
Commit-ID: a29dba161ad1a01bbfbc80aa184b089ddd169a4e
Gitweb: https://git.kernel.org/tip/a29dba161ad1a01bbfbc80aa184b089ddd169a4e
Author: Joerg Roedel <jroedel@...e.de>
AuthorDate: Thu, 9 Aug 2018 11:44:49 +0200
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Thu, 9 Aug 2018 20:42:07 +0200
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 <sfr@...b.auug.org.au>
Signed-off-by: Joerg Roedel <jroedel@...e.de>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Tested-by: Sedat Dilek <sedat.dilek@...il.com>
Cc: "H. Peter Anvin" <hpa@...or.com>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Linux-Next Mailing List <linux-next@...r.kernel.org>
Link: https://lkml.kernel.org/r/20180809094449.ddmnrkz7qkvo3j2x@suse.de
---
arch/x86/tools/relocs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/tools/relocs.c b/arch/x86/tools/relocs.c
index 220e97841e49..3a6c8ebc8032 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
Powered by blists - more mailing lists