From b93ab6041d56a5a19d8a97b69f6e3202fd11e859 Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Thu, 3 Dec 2009 13:29:53 +0100 Subject: test_tls: Add two new tests for tls tst-tls{16,17} taken from glibc Signed-off-by: Filippo Arcidiacono Signed-off-by: Carmelo Amoroso --- test/tls/tst-tlsmod16a.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/tls/tst-tlsmod16a.c (limited to 'test/tls/tst-tlsmod16a.c') diff --git a/test/tls/tst-tlsmod16a.c b/test/tls/tst-tlsmod16a.c new file mode 100644 index 000000000..847c8090f --- /dev/null +++ b/test/tls/tst-tlsmod16a.c @@ -0,0 +1,7 @@ +#include + +#if defined HAVE___THREAD && defined HAVE_TLS_MODEL_ATTRIBUTE +int __thread tlsvar; +#else +int tlsvar; +#endif -- cgit v1.2.3