mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-13 01:08:50 +00:00
[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>
This commit is contained in:
parent
e584d85fb1
commit
4f8d98ff48
@ -136,7 +136,9 @@ SECTIONS
|
||||
__init_begin = .;
|
||||
.init.text : {
|
||||
_sinittext = .;
|
||||
*(.init.literal) INIT_TEXT
|
||||
*(.init.literal) *(.cpuinit.literal)
|
||||
*(.devinit.literal) *(.meminit.literal)
|
||||
INIT_TEXT
|
||||
_einittext = .;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user