[RFC v5 55/57] arm64: Mark sigreturn32.o as containing non standard code

From: Julien Thierry
Date: Thu Jan 09 2020 - 11:10:15 EST


sigreturn32.o contains aarch32 getting copied to the VDSO for
compat user tasks.

This code shouldn't get validated by arm64 objtool.

Signed-off-by: Julien Thierry <jthierry@xxxxxxxxxx>
---
arch/arm64/kernel/Makefile | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/kernel/Makefile b/arch/arm64/kernel/Makefile
index f5994679db5f..b978026ea368 100644
--- a/arch/arm64/kernel/Makefile
+++ b/arch/arm64/kernel/Makefile
@@ -31,6 +31,7 @@ obj-$(CONFIG_COMPAT) += sys32.o signal32.o \
sys_compat.o
ifneq ($(CONFIG_COMPAT_VDSO), y)
obj-$(CONFIG_COMPAT) += sigreturn32.o
+OBJECT_FILES_NON_STANDARD_sigreturn32.o := y
endif
obj-$(CONFIG_KUSER_HELPERS) += kuser32.o

--
2.21.0