Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4f8d98ff authored by Chris Zankel's avatar Chris Zankel
Browse files

[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: default avatarChris Zankel <chris@zankel.net>
parent e584d85f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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 = .;
  }