aboutsummaryrefslogtreecommitdiff
path: root/nptl/tst-tls5mod.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/tst-tls5mod.c')
-rw-r--r--nptl/tst-tls5mod.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/nptl/tst-tls5mod.c b/nptl/tst-tls5mod.c
new file mode 100644
index 0000000000..b308bd60e1
--- /dev/null
+++ b/nptl/tst-tls5mod.c
@@ -0,0 +1,6 @@
+#include <tst-tls5.h>
+
+#ifdef TLS_REGISTER
+/* Ensure tls_registry is exported from the binary. */
+void *tst_tls5mod attribute_hidden = tls_registry;
+#endif