about summary refs log tree commit diff
path: root/elf/tst-tls10.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-09-10 14:34:15 -0400
committerUlrich Drepper <drepper@gmail.com>2011-09-10 14:34:15 -0400
commit3ce1f2959437e952b9db4eaeed2407424f11a4d1 (patch)
treedb47da854c7d3bfc2c3bce4c6fc8381075ac9ec4 /elf/tst-tls10.c
parent1248c1c41508387ff282b208636737e8cdc9b5b0 (diff)
downloadglibc-3ce1f2959437e952b9db4eaeed2407424f11a4d1.tar.gz
glibc-3ce1f2959437e952b9db4eaeed2407424f11a4d1.tar.xz
glibc-3ce1f2959437e952b9db4eaeed2407424f11a4d1.zip
Cleanup of configuration options
Make several tool features mandatory and simplify the code.
Diffstat (limited to 'elf/tst-tls10.c')
-rw-r--r--elf/tst-tls10.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/elf/tst-tls10.c b/elf/tst-tls10.c
index dbcc69727c..347243f66b 100644
--- a/elf/tst-tls10.c
+++ b/elf/tst-tls10.c
@@ -1,9 +1,7 @@
 #include "tst-tls10.h"
 
-#ifdef USE_TLS__THREAD
 __thread int dummy __attribute__((visibility ("hidden"))) = 12;
 __thread struct A local = { 1, 2, 3 };
-#endif
 
 #define CHECK(N, S)					\
   p = f##N##a ();					\
@@ -13,7 +11,6 @@ __thread struct A local = { 1, 2, 3 };
 int
 main (void)
 {
-#ifdef USE_TLS__THREAD
   struct A *p;
   if (local.a != 1 || local.b != 2 || local.c != 3)
     abort ();
@@ -35,6 +32,6 @@ main (void)
     abort ();
   CHECK (9, 28);
   CHECK (10, 31);
-#endif
+
   exit (0);
 }