]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbf520ac4b3b882f59d30a68c116dfe3af8143b42
tree9aa4ebb2625447a80174901cd631d473ad4050f2
parent13be1b9d7e48e18d78df609c915984fafad9933b
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