summaryrefslogtreecommitdiff
path: root/test/nptl/tst-tls5mod.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/nptl/tst-tls5mod.c')
-rw-r--r--test/nptl/tst-tls5mod.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/nptl/tst-tls5mod.c b/test/nptl/tst-tls5mod.c
new file mode 100644
index 0000000..4616a20
--- /dev/null
+++ b/test/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