[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+icZUW0rFEFH-CVPv3istQLV9CeNvxQzZvHsHH9agxXHq_MrQ@mail.gmail.com>
Date: Thu, 9 Aug 2018 14:18:55 +0200
From: Sedat Dilek <sedat.dilek@...il.com>
To: Joerg Roedel <jroedel@...e.de>
Cc: Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...e.hu>,
"H. Peter Anvin" <hpa@...or.com>,
Peter Zijlstra <peterz@...radead.org>,
Linux-Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Stephen Rothwell <sfr@...b.auug.org.au>
Subject: Re: [PATCH] x86, relocs: Add __end_rodata_aligned to S_REL
On Thu, Aug 9, 2018 at 11:44 AM, Joerg Roedel <jroedel@...e.de> wrote:
> 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')
> Signed-off-by: Joerg Roedel <jroedel@...e.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
> --
> 2.16.4
>
Tested-by: Sedat Dilek <sedat.dilek@...il.com>
Powered by blists - more mailing lists