summaryrefslogtreecommitdiff
path: root/src/internal/dynlink.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/dynlink.h')
-rw-r--r--src/internal/dynlink.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/internal/dynlink.h b/src/internal/dynlink.h
index 5717627a..90b6e481 100644
--- a/src/internal/dynlink.h
+++ b/src/internal/dynlink.h
@@ -4,6 +4,8 @@
#include <features.h>
#include <elf.h>
#include <stdint.h>
+#include <stddef.h>
+#include "libc.h"
#if UINTPTR_MAX == 0xffffffff
typedef Elf32_Ehdr Ehdr;
@@ -95,4 +97,12 @@ struct fdpic_dummy_loadmap {
typedef void (*stage2_func)(unsigned char *, size_t *);
typedef _Noreturn void (*stage3_func)(size_t *);
+hidden void *__dlsym(void *restrict, const char *restrict, void *restrict);
+
+hidden void __dl_seterr(const char *, ...);
+hidden int __dl_invalid_handle(void *);
+hidden void __dl_vseterr(const char *, va_list);
+
+hidden ptrdiff_t __tlsdesc_static(), __tlsdesc_dynamic();
+
#endif