xtensa: drop unused sections and remapped reset handlers
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 16 Oct 2015 15:30:37 +0000 (18:30 +0300)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 3 Nov 2015 14:19:39 +0000 (17:19 +0300)
commit0d848afe117ac3e31b9d57b65553ff18ef9d288f
tree9aa4ebb2625447a80174901cd631d473ad4050f2
parentab45fb145096799dabd18afc58bb5f97171017cd
xtensa: drop unused sections and remapped reset handlers

There are no .bootstrap or .ResetVector.text sections linked to the
vmlinux image, drop these sections from vmlinux.ld.S. Drop
RESET_VECTOR_VADDR definition only used for .ResetVector.text.

Drop remapped copies of primary and secondary reset vectors, as modern
gdb don't have problems stepping through instructions at arbitrary
locations. Drop corresponding sections from the corresponding linker
scripts.

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