diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2015-10-16 18:30:37 +0300 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2015-11-03 17:19:39 +0300 |
commit | 0d848afe117ac3e31b9d57b65553ff18ef9d288f (patch) | |
tree | 9aa4ebb2625447a80174901cd631d473ad4050f2 /arch/xtensa/boot/boot-elf/boot.lds.S | |
parent | ab45fb145096799dabd18afc58bb5f97171017cd (diff) | |
download | blackbird-op-linux-0d848afe117ac3e31b9d57b65553ff18ef9d288f.tar.gz blackbird-op-linux-0d848afe117ac3e31b9d57b65553ff18ef9d288f.zip |
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>
Diffstat (limited to 'arch/xtensa/boot/boot-elf/boot.lds.S')
-rw-r--r-- | arch/xtensa/boot/boot-elf/boot.lds.S | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/xtensa/boot/boot-elf/boot.lds.S b/arch/xtensa/boot/boot-elf/boot.lds.S index 958b33af96b7..e54f2c9df63a 100644 --- a/arch/xtensa/boot/boot-elf/boot.lds.S +++ b/arch/xtensa/boot/boot-elf/boot.lds.S @@ -40,17 +40,4 @@ SECTIONS *(.bss) __bss_end = .; } - -#ifdef CONFIG_MMU - /* - * This is a remapped copy of the Reset Vector Code. - * It keeps gdb in sync with the PC after switching - * to the temporary mapping used while setting up - * the V2 MMU mappings for Linux. - */ - .ResetVector.remapped_text 0x46000000 (INFO): - { - *(.ResetVector.remapped_text) - } -#endif } |