diff options
author | Chris Zankel <chris@zankel.net> | 2008-02-14 01:44:19 +0100 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2008-02-14 01:44:19 +0100 |
commit | 4f8d98ff4825336b23372bb552852625fc90d3b1 (patch) | |
tree | 00f05166b4010eeb8eaedf9efe6391a6e86d6ae1 /arch/xtensa | |
parent | [XTENSA] Fix non-existent pte_token_t typedef to pgtable_t (diff) | |
download | linux-4f8d98ff4825336b23372bb552852625fc90d3b1.tar.xz linux-4f8d98ff4825336b23372bb552852625fc90d3b1.zip |
[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>
Diffstat (limited to 'arch/xtensa')
-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 __init_begin = .; .init.text : { _sinittext = .; - *(.init.literal) INIT_TEXT + *(.init.literal) *(.cpuinit.literal) + *(.devinit.literal) *(.meminit.literal) + INIT_TEXT _einittext = .; } |