diff options
author | Chris Zankel <chris@zankel.net> | 2008-02-13 19:44:19 -0500 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2008-02-13 19:44:19 -0500 |
commit | 4f8d98ff4825336b23372bb552852625fc90d3b1 (patch) | |
tree | 00f05166b4010eeb8eaedf9efe6391a6e86d6ae1 | |
parent | e584d85fb1cba2b08c266348b58eb4a881a88b40 (diff) |
[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>
-rw-r--r-- | arch/xtensa/kernel/vmlinux.lds.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/xtensa/kernel/vmlinux.lds.S b/arch/xtensa/kernel/vmlinux.lds.S index 7d0f55a4982d..4b717bf48fb7 100644 --- a/arch/xtensa/kernel/vmlinux.lds.S +++ b/arch/xtensa/kernel/vmlinux.lds.S | |||
@@ -136,7 +136,9 @@ SECTIONS | |||
136 | __init_begin = .; | 136 | __init_begin = .; |
137 | .init.text : { | 137 | .init.text : { |
138 | _sinittext = .; | 138 | _sinittext = .; |
139 | *(.init.literal) INIT_TEXT | 139 | *(.init.literal) *(.cpuinit.literal) |
140 | *(.devinit.literal) *(.meminit.literal) | ||
141 | INIT_TEXT | ||
140 | _einittext = .; | 142 | _einittext = .; |
141 | } | 143 | } |
142 | 144 | ||