]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
x86/relocs: Add __end_rodata_aligned to S_REL
authorJoerg Roedel <jroedel@suse.de>
Thu, 9 Aug 2018 09:44:49 +0000 (11:44 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 1 Apr 2019 12:37:29 +0000 (14:37 +0200)
CVE-2017-5754

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@canb.auug.org.au>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Linux-Next Mailing List <linux-next@vger.kernel.org>
Link: https://lkml.kernel.org/r/20180809094449.ddmnrkz7qkvo3j2x@suse.de
(cherry picked from commit a29dba161ad1a01bbfbc80aa184b089ddd169a4e)
Signed-off-by: Juerg Haefliger <juergh@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Tyler Hicks <tyhicks@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/x86/tools/relocs.c

index 220e97841e494c41e21b242a053b9ffcefeb2b4a..3a6c8ebc8032eb5c95e70af2e5e4f44000e29350 100644 (file)
@@ -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