From de0cfd949a68888515e0e83c942df12a610ffe8a Mon Sep 17 00:00:00 2001 From: lordrasmus Date: Mon, 29 May 2023 20:32:24 +0200 Subject: add vsdo support --- extra/Configs/Config.in | 17 +++++++++++++++++ extra/Configs/Config.mips | 1 + 2 files changed, 18 insertions(+) mode change 100644 => 100755 extra/Configs/Config.in mode change 100644 => 100755 extra/Configs/Config.mips (limited to 'extra') diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in old mode 100644 new mode 100755 index 6bbb6f572..323c2092f --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -455,6 +455,22 @@ config LDSO_PRELINK_SUPPORT time. It also is able to load and handle prelinked libraries and binaries at runtime. +config ARCH_VDSO_SUPPORT + bool + +config VDSO_SUPPORT + bool "Dynamic linker vDSO support" + depends on ARCH_VDSO_SUPPORT + help + Enable this option to support vDSO loading + + vDSO provides access to some kernel function without a systemcall + if provided by the kernel + + most archs support gettimeofday() and clock_gettime() + + vDSO loading can be disabled via VDSO_DISABLE environment variable + config UCLIBC_STATIC_LDCONFIG bool "Link ldconfig statically" depends on HAVE_SHARED @@ -2321,6 +2337,7 @@ config SUPPORT_LD_DEBUG nofixups never fixes up jump relocations bindings displays the resolve processing (function calls); detail shows the relocation patch + vdso display vdso symbol table processing all Enable everything! The additional environment variable: diff --git a/extra/Configs/Config.mips b/extra/Configs/Config.mips old mode 100644 new mode 100755 index 8137d8be4..14b784fcc --- a/extra/Configs/Config.mips +++ b/extra/Configs/Config.mips @@ -13,6 +13,7 @@ config FORCE_OPTIONS_FOR_ARCH select ARCH_ANY_ENDIAN select ARCH_HAS_UCONTEXT select ARCH_HAS_DEPRECATED_SYSCALLS + select ARCH_VDSO_SUPPORT choice prompt "Target ABI" -- cgit v1.2.3