diff options
author | Sathvika Vasireddy <sv@linux.ibm.com> | 2022-11-14 23:27:45 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-11-18 19:00:06 +1100 |
commit | d0160bd5d389da247fb5affb6a35ea393d22fedb (patch) | |
tree | cdac6712c5651f2d8e75e9c4602e013704e3f91b /arch/powerpc/kernel/vdso | |
parent | 2da37761671b5bdedbe04e6469cfa57cd6b6ae45 (diff) | |
download | linux-stable-d0160bd5d389da247fb5affb6a35ea393d22fedb.tar.gz linux-stable-d0160bd5d389da247fb5affb6a35ea393d22fedb.tar.bz2 linux-stable-d0160bd5d389da247fb5affb6a35ea393d22fedb.zip |
powerpc/vdso: Skip objtool from running on VDSO files
Do not run objtool on VDSO files, by using OBJECT_FILES_NON_STANDARD.
Suggested-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Tested-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Reviewed-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Sathvika Vasireddy <sv@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221114175754.1131267-8-sv@linux.ibm.com
Diffstat (limited to 'arch/powerpc/kernel/vdso')
-rw-r--r-- | arch/powerpc/kernel/vdso/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/vdso/Makefile b/arch/powerpc/kernel/vdso/Makefile index a2e7b0ce5b19..6a977b0d8ffc 100644 --- a/arch/powerpc/kernel/vdso/Makefile +++ b/arch/powerpc/kernel/vdso/Makefile @@ -102,3 +102,5 @@ quiet_cmd_vdso64ld_and_check = VDSO64L $@ cmd_vdso64ld_and_check = $(VDSOCC) $(c_flags) $(CC64FLAGS) -o $@ -Wl,-T$(filter %.lds,$^) $(filter %.o,$^) -z noexecstack ; $(cmd_vdso_check) quiet_cmd_vdso64as = VDSO64A $@ cmd_vdso64as = $(VDSOCC) $(a_flags) $(CC64FLAGS) $(AS64FLAGS) -c -o $@ $< + +OBJECT_FILES_NON_STANDARD := y |