From 9b8a97db9ec4b795e29e72289005fbc58484ebeb Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 9 Apr 2024 15:14:35 +0200 Subject: Adding upstream version 6.8.0. Signed-off-by: Daniel Baumann --- ip/static-syms.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ip/static-syms.c (limited to 'ip/static-syms.c') diff --git a/ip/static-syms.c b/ip/static-syms.c new file mode 100644 index 0000000..47c4092 --- /dev/null +++ b/ip/static-syms.c @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * This file creates a dummy version of dynamic loading + * for environments where dynamic linking + * is not used or available. + */ + +#include +#include "dlfcn.h" + +void *_dlsym(const char *sym) +{ +#include "static-syms.h" + return NULL; +} -- cgit v1.2.3