arm64: vdso: put ELF related sections in the linker script
authorJoey Gouly <joey.gouly@arm.com>
Tue, 10 May 2022 09:58:31 +0000 (10:58 +0100)
committerWill Deacon <will@kernel.org>
Thu, 23 Jun 2022 14:34:59 +0000 (15:34 +0100)
commitb87d34ca60cedd6ad769da69c39c4329647fc6a9
treece18f38ff3b14c6592c1c93fa5b7f062d8454a05
parenta111daf0c53ae91e71fd2bfe7497862d14132e3e
arm64: vdso: put ELF related sections in the linker script

Use macros from vmlinux.lds.h to explicitly name sections that are included
in the VDSO output.

Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: Kees Cook <keescook@chromium.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Link: https://lore.kernel.org/r/20220510095834.32394-2-joey.gouly@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/vdso/vdso.lds.S