microblaze: include EXIT_TEXT to _stext
authorMichal Simek <monstr@monstr.eu>
Thu, 9 Jul 2009 02:27:40 +0000 (11:27 +0900)
committerTejun Heo <tj@kernel.org>
Thu, 9 Jul 2009 02:27:40 +0000 (11:27 +0900)
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>
arch/microblaze/kernel/vmlinux.lds.S

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