Skip to content

Commit de71566

Browse files
keessuryasaimadhu
authored andcommitted
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: c823182 ("vmlinux.lds.h: Replace RODATA with RO_DATA") Reported-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Kees Cook <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: [email protected] Cc: Sam Creasey <[email protected]> Link: https://lkml.kernel.org/r/201911110920.5840E9AF1@keescook
1 parent 7705dc8 commit de71566

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arch/m68k/kernel/vmlinux-std.lds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ SECTIONS
3131

3232
_sdata = .; /* Start of data section */
3333

34-
RODATA
34+
RO_DATA(4096)
3535

3636
RW_DATA(16, PAGE_SIZE, THREAD_SIZE)
3737

arch/m68k/kernel/vmlinux-sun3.lds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ SECTIONS
2424
*(.fixup)
2525
*(.gnu.warning)
2626
} :text = 0x4e75
27-
RODATA
27+
RO_DATA(4096)
2828

2929
_etext = .; /* End of text section */
3030

0 commit comments

Comments
 (0)