Skip to content
Snippets Groups Projects
Commit de715668 authored by Kees Cook's avatar Kees Cook Committed by Borislav Petkov
Browse files

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: c8231825 ("vmlinux.lds.h: Replace RODATA with RO_DATA")
Reported-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Acked-by: default avatarGeert 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
parent 7705dc85
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ SECTIONS
_sdata = .; /* Start of data section */
RODATA
RO_DATA(4096)
RW_DATA(16, PAGE_SIZE, THREAD_SIZE)
......
......@@ -24,7 +24,7 @@ SECTIONS
*(.fixup)
*(.gnu.warning)
} :text = 0x4e75
RODATA
RO_DATA(4096)
_etext = .; /* End of text section */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment