projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e584d85
)
[XTENSA] Add .literal sections for various init sectiont to linker script
author
Chris Zankel
<chris@zankel.net>
Thu, 14 Feb 2008 00:44:19 +0000
(16:44 -0800)
committer
Chris Zankel
<chris@zankel.net>
Thu, 14 Feb 2008 00:44:19 +0000
(16:44 -0800)
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>
arch/xtensa/kernel/vmlinux.lds.S
patch
|
blob
|
history
diff --git
a/arch/xtensa/kernel/vmlinux.lds.S
b/arch/xtensa/kernel/vmlinux.lds.S
index 7d0f55a4982d41ba997e4ec557807d4a768fde23..4b717bf48fb78e3ea4906fcc74a6a2b294ea2ca5 100644
(file)
--- a/
arch/xtensa/kernel/vmlinux.lds.S
+++ b/
arch/xtensa/kernel/vmlinux.lds.S
@@
-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 = .;
}