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

Use macros from vmlinux.lds.h to explicitly name sections that are included
in the compat VDSO32 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-4-joey.gouly@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/vdso32/vdso.lds.S