]> git.ipfire.org Git - thirdparty/kernel/stable.git/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:22:02 +0000 (09:22 +0100)
commit8501e03baaf2d41b27663dbc3b507f9990eb49fd
treead0c2c207c9892f7f3e4686e6cadf07db061aa4b
parent454dd3e93e3895460fb6ba1d35cbc724567597f4
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