ARM: use linker magic for vectors and vector stubs
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 4 Jul 2013 11:03:31 +0000 (12:03 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 31 Jul 2013 20:34:24 +0000 (21:34 +0100)
commitb9b32bf70f2fb710b07c94e13afbc729afe221da
tree865285ebb52964077d2b8a89a9e6b4d9e56eec5c
parent19accfd373847ac3d10623c5d20f948846299741
ARM: use linker magic for vectors and vector stubs

Use linker magic to create the vectors and vector stubs: we can tell the
linker to place them at an appropriate VMA, but keep the LMA within the
kernel.  This gets rid of some unnecessary symbol manipulation, and
have the linker calculate the relocations appropriately.

Cc: <stable@vger.kernel.org>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/entry-armv.S
arch/arm/kernel/vmlinux.lds.S