]> git.baikalelectronics.ru Git - kernel.git/commit
m68k: Convert missed RODATA to RO_DATA
authorKees Cook <keescook@chromium.org>
Mon, 11 Nov 2019 17:22:00 +0000 (09:22 -0800)
committerBorislav Petkov <bp@suse.de>
Tue, 12 Nov 2019 08:56:51 +0000 (09:56 +0100)
commit9776698f82f78afbef1d4ed0544487903b9de4c5
treee123edf4da6feca9a3d61d750d592af4412d2cfa
parent0c0f4d07e7b0a00f4fee4b9e4dc0098498c73fab
m68k: Convert missed RODATA to RO_DATA

I missed two instances of the old RODATA macro (seems I was searching
for vmlinux.lds* not vmlinux*lds*). Fix both instances and double-check
the entire tree for other "RODATA" instances in linker scripts.

Fixes: 8f95697910d5 ("vmlinux.lds.h: Replace RODATA with RO_DATA")
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: linux-m68k@lists.linux-m68k.org
Cc: Sam Creasey <sammy@sammy.net>
Link: https://lkml.kernel.org/r/201911110920.5840E9AF1@keescook
arch/m68k/kernel/vmlinux-std.lds
arch/m68k/kernel/vmlinux-sun3.lds