linux-stable/arch/s390/kernel/vdso64
Nathan Chancellor fd8589dce8 s390/vdso: Drop '-shared' from KBUILD_CFLAGS_64
When clang's -Qunused-arguments is dropped from KBUILD_CPPFLAGS, it
points out that there is a linking phase flag added to CFLAGS, which
will only be used for compiling

  clang-16: error: argument unused during compilation: '-shared' [-Werror,-Wunused-command-line-argument]

'-shared' is already present in ldflags-y so it can just be dropped.

Fixes: 2b2a25845d ("s390/vdso: Use $(LD) instead of $(CC) to link vDSO")
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org>
Tested-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2023-01-26 12:42:57 +09:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
gen_vdso_offsets.sh s390/vdso: add minimal compat vdso 2021-07-08 15:37:28 +02:00
getcpu.c s390/vdso: use union tod_clock 2021-02-13 17:17:54 +01:00
Makefile s390/vdso: Drop '-shared' from KBUILD_CFLAGS_64 2023-01-26 12:42:57 +09:00
note.S s390: add a few more SPDX identifiers 2017-12-05 07:51:09 +01:00
vdso.h s390/vdso: add missing prototypes for vdso functions 2020-11-30 14:10:50 +01:00
vdso64.lds.S s390/vdso: add .got.plt in vdso linker script 2021-07-30 17:08:21 +02:00
vdso64_generic.c s390/vdso: add missing prototypes for vdso functions 2020-11-30 14:10:50 +01:00
vdso64_wrapper.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vdso_user_wrapper.S s390/vdso64: add sigreturn,rt_sigreturn and restart_syscall 2021-07-08 15:37:28 +02:00