]> 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)
commit52b2d9ed9f6de2ba1211d0a73c2e822fed22c10f
tree865285ebb52964077d2b8a89a9e6b4d9e56eec5c
parent401dce26359df0db861f45d11963c5e060cf8fd6
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