arm/boot: Handle all sections explicitly
authorKees Cook <keescook@chromium.org>
Fri, 21 Aug 2020 19:43:01 +0000 (12:43 -0700)
committerIngo Molnar <mingo@kernel.org>
Tue, 1 Sep 2020 08:03:18 +0000 (10:03 +0200)
commit7e8c4ed2638d08a1604c87b60ed7161bf92e6f86
tree4554a74c93087d8d54f3370947c870c4344680ff
parent0c918e753f8c03b0308a635c0721a8c24d738d4a
arm/boot: Handle all sections explicitly

In preparation for warning on orphan sections, use common macros for
debug sections, discards, and text stubs. Add discards for unwanted .note,
and .rel sections.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Russell King <linux@armlinux.org.uk>
Link: https://lore.kernel.org/r/20200821194310.3089815-21-keescook@chromium.org
arch/arm/boot/compressed/vmlinux.lds.S