]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: VDSO: Move disabling the VDSO logic to Kconfig
authorNathan Chancellor <natechancellor@gmail.com>
Tue, 28 Apr 2020 22:14:16 +0000 (15:14 -0700)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 12 May 2020 08:01:45 +0000 (10:01 +0200)
commit9ef8107fbcc6fe923670796cc2ba31c24c9c8c9f
tree88263cac5e8d2e65b37ffa64eaeee55dfa9007dc
parent13ecce40b7f767f6d524ec6fb14df602babaf299
MIPS: VDSO: Move disabling the VDSO logic to Kconfig

After commit 40e034213862 ("init/kconfig: Add LD_VERSION Kconfig"), we
have access to GNU ld's version at configuration time. As a result, we
can make it clearer under what configuration circumstances the MIPS VDSO
needs to be disabled.

This is a prerequisite for getting rid of the MIPS VDSO binutils
warning and linking the VDSO when LD is ld.lld. Wrapping the call to
ld-ifversion with CONFIG_LD_IS_LLD does not work because the config
values are wiped away during 'make clean'.

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/Kconfig
arch/mips/vdso/Kconfig [new file with mode: 0644]
arch/mips/vdso/Makefile
arch/mips/vdso/vdso.lds.S