Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[XTENSA] Add .literal sections for various init sectiont to linker script

Xtensa requires separate .literal section for each .text section.
Adding addition init sections for cpuinit, meminit, and devinit,
broke the Xtensa linker script, so, add these literal sections
manually for now.

Signed-off-by: Chris Zankel <chris@zankel.net>

+3 -1
+3 -1
arch/xtensa/kernel/vmlinux.lds.S
··· 136 136 __init_begin = .; 137 137 .init.text : { 138 138 _sinittext = .; 139 - *(.init.literal) INIT_TEXT 139 + *(.init.literal) *(.cpuinit.literal) 140 + *(.devinit.literal) *(.meminit.literal) 141 + INIT_TEXT 140 142 _einittext = .; 141 143 } 142 144