aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2023-08-16 14:59:23 -0700
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2023-08-23 09:06:38 +0200
commit971fe5095f78b6475c88270aa4b6ee77a791cf25 (patch)
treeeed1f9d20f695a2fe7fde30e740649b9fa7e6678 /scripts/gcc-plugins/structleak_plugin.c
parented07f6c26f9c18e5122ecba0526923ba32a7a6f7 (diff)
MIPS: VDSO: Conditionally export __vdso_gettimeofday()
ld.lld 16.0.0 and newer defaults to '--no-undefined-version', which causes the following error when CONFIG_MIPS_CLOCK_VSYSCALL is not set: ld.lld: error: version script assignment of 'LINUX_2.6' to symbol '__vdso_gettimeofday' failed: symbol not defined Only export __vdso_gettimeofday() when it will be present in the final object file, which clears up the error. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202308170532.zxFFv25c-lkp@intel.com/ Signed-off-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: Fangrui Song <maskray@google.com> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions