diff options
| author | Nathan Chancellor <[email protected]> | 2023-08-16 21:59:23 +0000 |
|---|---|---|
| committer | Thomas Bogendoerfer <[email protected]> | 2023-08-23 07:06:38 +0000 |
| commit | 971fe5095f78b6475c88270aa4b6ee77a791cf25 (patch) | |
| tree | eed1f9d20f695a2fe7fde30e740649b9fa7e6678 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | Mips: loongson3_defconfig: Enable ast drm driver by default (diff) | |
| download | kernel-971fe5095f78b6475c88270aa4b6ee77a791cf25.tar.gz kernel-971fe5095f78b6475c88270aa4b6ee77a791cf25.zip | |
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 <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Nathan Chancellor <[email protected]>
Reviewed-by: Fangrui Song <[email protected]>
Reviewed-by: Nick Desaulniers <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
