Browse Source

microblaze: include EXIT_TEXT to _stext

Microblaze wants to throw out EXIT_TEXT during runtime too.  This
hasn't caused trouble till now because the linker script didn't
discard EXIT_TEXT and it ended up in its default output section.  As
discard definition is about to be unified, include EXIT_TEXT into
_stext explicitly and while at it replace explicit exitcall definition
to EXIT_CALL.

Signed-off-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Tejun Heo <tj@kernel.org>
Michal Simek 16 years ago
parent
commit
1dcdd0911b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      arch/microblaze/kernel/vmlinux.lds.S

+ 2 - 2
arch/microblaze/kernel/vmlinux.lds.S

@@ -23,8 +23,8 @@ SECTIONS {
 		_stext = . ;
 		_stext = . ;
 		*(.text .text.*)
 		*(.text .text.*)
 		*(.fixup)
 		*(.fixup)
-
-		*(.exitcall.exit)
+               EXIT_TEXT
+               EXIT_CALL
 		SCHED_TEXT
 		SCHED_TEXT
 		LOCK_TEXT
 		LOCK_TEXT
 		KPROBES_TEXT
 		KPROBES_TEXT