summaryrefslogtreecommitdiff
path: root/lib/libc/hidden/tib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/hidden/tib.h')
-rw-r--r--lib/libc/hidden/tib.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/hidden/tib.h b/lib/libc/hidden/tib.h
index 9c4be95fb96..26463db020c 100644
--- a/lib/libc/hidden/tib.h
+++ b/lib/libc/hidden/tib.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tib.h,v 1.2 2017/12/01 23:30:05 guenther Exp $ */
+/* $OpenBSD: tib.h,v 1.3 2019/06/02 01:03:01 guenther Exp $ */
/*
* Copyright (c) 2015 Philip Guenther <guenther@openbsd.org>
*
@@ -39,6 +39,9 @@ extern int _static_tls_align;
extern int _static_tls_align_offset;
#endif
+/* saved handle to callbacks from ld.so */
+extern const dl_cb *_dl_cb;
+
#if ! TCB_HAVE_MD_GET
/*
* For archs without a fast TCB_GET(): the pointer to the TCB in