mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 00:10:09 +00:00
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: c82318254d
("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
This commit is contained in:
parent
7705dc8557
commit
de7156689d
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ SECTIONS
|
||||||
|
|
||||||
_sdata = .; /* Start of data section */
|
_sdata = .; /* Start of data section */
|
||||||
|
|
||||||
RODATA
|
RO_DATA(4096)
|
||||||
|
|
||||||
RW_DATA(16, PAGE_SIZE, THREAD_SIZE)
|
RW_DATA(16, PAGE_SIZE, THREAD_SIZE)
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ SECTIONS
|
||||||
*(.fixup)
|
*(.fixup)
|
||||||
*(.gnu.warning)
|
*(.gnu.warning)
|
||||||
} :text = 0x4e75
|
} :text = 0x4e75
|
||||||
RODATA
|
RO_DATA(4096)
|
||||||
|
|
||||||
_etext = .; /* End of text section */
|
_etext = .; /* End of text section */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue