]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8e581d6d70388a3ea3aca303eacf3152b93937e2
tree865285ebb52964077d2b8a89a9e6b4d9e56eec5c
parent2c628e5bbb74584e02108f9700d9539b86993064
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