]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] Ensure head text is always placed at the start of kernel
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Tue, 8 May 2007 14:15:45 +0000 (15:15 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 8 May 2007 14:15:45 +0000 (15:15 +0100)
commitc579a341a81fd9e421851416b15ab728ac77b032
treeedbce85f683fcc327f3552b208c954a9d12e704a
parenta236709fb5c2f808b8ed8451318833299558fab2
[ARM] Ensure head text is always placed at the start of kernel

Commit 4235a75f2097c228cb997c0fd47b3416c7c435b8 highlighted that we
may end up with the head text placed elsewhere in the kernel image.
Introduce a new .text.head section to contain the initial kernel
startup code, and always place this section at the beginning of the
kernel image.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/head-nommu.S
arch/arm/kernel/head.S
arch/arm/kernel/vmlinux.lds.S