projects
/
profile
/
common
/
kernel-common.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
7d0f55a
..
4b717bf
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 = .;
}