]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/build: Use common DISCARDS in linker script
authorKees Cook <keescook@chromium.org>
Fri, 21 Aug 2020 19:42:52 +0000 (12:42 -0700)
committerIngo Molnar <mingo@kernel.org>
Tue, 1 Sep 2020 07:50:36 +0000 (09:50 +0200)
commit1daf9eea863b946b5031316d5b942ca527974e78
treeccc3b4e1d32e0c82f7806dcb05961215cfcabed1
parentb78d3ce6f69ddd1358b0a27c322c17a73decd720
arm64/build: Use common DISCARDS in linker script

Use the common DISCARDS rule for the linker script in an effort to
regularize the linker script to prepare for warning on orphaned
sections. Additionally clean up left-over no-op macros.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20200821194310.3089815-12-keescook@chromium.org
arch/arm64/kernel/vmlinux.lds.S