diff options
Diffstat (limited to 'arch/xtensa/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/xtensa/kernel/vmlinux.lds.S | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/xtensa/kernel/vmlinux.lds.S b/arch/xtensa/kernel/vmlinux.lds.S index ac4ed52034db..7d0f55a4982d 100644 --- a/arch/xtensa/kernel/vmlinux.lds.S +++ b/arch/xtensa/kernel/vmlinux.lds.S | |||
@@ -136,13 +136,13 @@ 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) INIT_TEXT |
140 | _einittext = .; | 140 | _einittext = .; |
141 | } | 141 | } |
142 | 142 | ||
143 | .init.data : | 143 | .init.data : |
144 | { | 144 | { |
145 | *(.init.data) | 145 | INIT_DATA |
146 | . = ALIGN(0x4); | 146 | . = ALIGN(0x4); |
147 | __tagtable_begin = .; | 147 | __tagtable_begin = .; |
148 | *(.taglist) | 148 | *(.taglist) |
@@ -278,8 +278,9 @@ SECTIONS | |||
278 | /* Sections to be discarded */ | 278 | /* Sections to be discarded */ |
279 | /DISCARD/ : | 279 | /DISCARD/ : |
280 | { | 280 | { |
281 | *(.exit.literal .exit.text) | 281 | *(.exit.literal) |
282 | *(.exit.data) | 282 | EXIT_TEXT |
283 | EXIT_DATA | ||
283 | *(.exitcall.exit) | 284 | *(.exitcall.exit) |
284 | } | 285 | } |
285 | 286 | ||