xtensa: allow merging vectors into .text section
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 4 Jan 2017 18:40:49 +0000 (10:40 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Wed, 1 Mar 2017 20:32:50 +0000 (12:32 -0800)
commitb46dcfa378b0cdea1ee832802c9e36750e0fffa9
tree38f96eb95db4e95c8240c80c352a29ba49c7e846
parent9a736fcb096b43b68af8329eb12abc8256dceaba
xtensa: allow merging vectors into .text section

Currently code for exception/IRQ vectors is stored in kernel image as
initialization data and is copied to its working addresses during
startup. It doesn't always make sense. In many cases vectors location
can be automatically decided at kernel link time and code can be placed
right there. This is especially useful for XIP kernel.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/vectors.h
arch/xtensa/kernel/setup.c
arch/xtensa/kernel/vmlinux.lds.S