]> git.itanic.dy.fi Git - linux-stable/commit
xtensa: add NOTES section to the linker script
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 30 Oct 2018 01:30:13 +0000 (18:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2018 08:24:06 +0000 (09:24 +0100)
commit1592c520d42724546c376d9e1e7aacd2f5de9c64
tree3aea13ddd8bdfb1a6f833e91a3982d6e33d8c49e
parent14563f42672632609f637c88cfe7411d6a06ee64
xtensa: add NOTES section to the linker script

commit 4119ba211bc4f1bf638f41e50b7a0f329f58aa16 upstream.

This section collects all source .note.* sections together in the
vmlinux image. Without it .note.Linux section may be placed at address
0, while the rest of the kernel is at its normal address, resulting in a
huge vmlinux.bin image that may not be linked into the xtensa Image.elf.

Cc: stable@vger.kernel.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/xtensa/boot/Makefile
arch/xtensa/kernel/vmlinux.lds.S