aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-07 17:18:25 -0400
committerMike Frysinger <vapier@gentoo.org>2009-06-13 07:20:07 -0400
commit70f12567ac9aca9c2f242ae060d7de245904889e (patch)
tree6838a6886fbe0c932f50cf5a059ffd798c43ca1c /arch/blackfin/kernel/vmlinux.lds.S
parent67834fa93d7a4fac9069a07e739110d3916d8cd4 (diff)
Blackfin: add support for GENERIC_BUG
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/kernel/vmlinux.lds.S')
-rw-r--r--arch/blackfin/kernel/vmlinux.lds.S16
1 files changed, 14 insertions, 2 deletions
diff --git a/arch/blackfin/kernel/vmlinux.lds.S b/arch/blackfin/kernel/vmlinux.lds.S
index 8b67167cb4f4..119fbdb46475 100644
--- a/arch/blackfin/kernel/vmlinux.lds.S
+++ b/arch/blackfin/kernel/vmlinux.lds.S
@@ -166,6 +166,20 @@ SECTIONS
166 } 166 }
167 PERCPU(4) 167 PERCPU(4)
168 SECURITY_INIT 168 SECURITY_INIT
169
170 /* we have to discard exit text and such at runtime, not link time, to
171 * handle embedded cross-section references (alt instructions, bug
172 * table, eh_frame, etc...)
173 */
174 .exit.text :
175 {
176 EXIT_TEXT
177 }
178 .exit.data :
179 {
180 EXIT_DATA
181 }
182
169 .init.ramfs : 183 .init.ramfs :
170 { 184 {
171 . = ALIGN(4); 185 . = ALIGN(4);
@@ -264,8 +278,6 @@ SECTIONS
264 278
265 /DISCARD/ : 279 /DISCARD/ :
266 { 280 {
267 EXIT_TEXT
268 EXIT_DATA
269 *(.exitcall.exit) 281 *(.exitcall.exit)
270 } 282 }
271} 283}