about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-10-18 19:45:36 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-10-18 19:45:36 +0530
commitc7738d0822fd34e95ebf01ce8fa8ea397bc4843d (patch)
tree11db09ca073228a43ac4faeb649f6bd577c68909 /elf
parent0bfcf2c73cf6a68be978e66248cec5c4c03f07fa (diff)
downloadglibc-c7738d0822fd34e95ebf01ce8fa8ea397bc4843d.tar.gz
glibc-c7738d0822fd34e95ebf01ce8fa8ea397bc4843d.tar.xz
glibc-c7738d0822fd34e95ebf01ce8fa8ea397bc4843d.zip
Don't include tls.h in test cases
Remove tls.h includes where they are not needed.
Diffstat (limited to 'elf')
-rw-r--r--elf/tst-tls-dlinfo.c2
-rw-r--r--elf/tst-tls1.c2
-rw-r--r--elf/tst-tls10.h1
-rw-r--r--elf/tst-tls14.c2
-rw-r--r--elf/tst-tls2.c2
-rw-r--r--elf/tst-tls3.c2
-rw-r--r--elf/tst-tls4.c2
-rw-r--r--elf/tst-tls5.c2
-rw-r--r--elf/tst-tls6.c1
-rw-r--r--elf/tst-tls7.c1
-rw-r--r--elf/tst-tls8.c1
-rw-r--r--elf/tst-tls9.c1
-rw-r--r--elf/tst-tlsmod1.c2
-rw-r--r--elf/tst-tlsmod13.c2
-rw-r--r--elf/tst-tlsmod13a.c2
-rw-r--r--elf/tst-tlsmod14a.c2
-rw-r--r--elf/tst-tlsmod16a.c2
-rw-r--r--elf/tst-tlsmod16b.c2
-rw-r--r--elf/tst-tlsmod2.c2
-rw-r--r--elf/tst-tlsmod3.c2
-rw-r--r--elf/tst-tlsmod4.c2
-rw-r--r--elf/tst-tlsmod5.c2
-rw-r--r--elf/tst-tlsmod6.c2
23 files changed, 0 insertions, 41 deletions
diff --git a/elf/tst-tls-dlinfo.c b/elf/tst-tls-dlinfo.c
index 26c2811178..28661b19c2 100644
--- a/elf/tst-tls-dlinfo.c
+++ b/elf/tst-tls-dlinfo.c
@@ -2,8 +2,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include <tls.h>
-
 
 #define TEST_FUNCTION do_test ()
 static int
diff --git a/elf/tst-tls1.c b/elf/tst-tls1.c
index 3b9b10f9aa..bec0a2ff26 100644
--- a/elf/tst-tls1.c
+++ b/elf/tst-tls1.c
@@ -1,8 +1,6 @@
 /* glibc test for TLS in ld.so.  */
 #include <stdio.h>
 
-#include <tls.h>
-
 #include "tls-macros.h"
 
 
diff --git a/elf/tst-tls10.h b/elf/tst-tls10.h
index 2b5709af72..7c8c6a6391 100644
--- a/elf/tst-tls10.h
+++ b/elf/tst-tls10.h
@@ -1,4 +1,3 @@
-#include <tls.h>
 #include <stdlib.h>
 
 struct A
diff --git a/elf/tst-tls14.c b/elf/tst-tls14.c
index ffd31e97be..6bacb599dd 100644
--- a/elf/tst-tls14.c
+++ b/elf/tst-tls14.c
@@ -4,8 +4,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include <tls.h>
-
 #define AL 4096
 struct foo
 {
diff --git a/elf/tst-tls2.c b/elf/tst-tls2.c
index 3d13272c08..d0b6d51402 100644
--- a/elf/tst-tls2.c
+++ b/elf/tst-tls2.c
@@ -1,8 +1,6 @@
 /* glibc test for TLS in ld.so.  */
 #include <stdio.h>
 
-#include <tls.h>
-
 #include "tls-macros.h"
 
 
diff --git a/elf/tst-tls3.c b/elf/tst-tls3.c
index c5e501eb4e..ca96c6a073 100644
--- a/elf/tst-tls3.c
+++ b/elf/tst-tls3.c
@@ -1,8 +1,6 @@
 /* glibc test for TLS in ld.so.  */
 #include <stdio.h>
 
-#include <tls.h>
-
 #include "tls-macros.h"
 
 
diff --git a/elf/tst-tls4.c b/elf/tst-tls4.c
index 4ae33db24d..63170c3478 100644
--- a/elf/tst-tls4.c
+++ b/elf/tst-tls4.c
@@ -2,8 +2,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include <tls.h>
-
 
 #define TEST_FUNCTION do_test ()
 static int
diff --git a/elf/tst-tls5.c b/elf/tst-tls5.c
index 27b18294fb..76905c56db 100644
--- a/elf/tst-tls5.c
+++ b/elf/tst-tls5.c
@@ -2,8 +2,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include <tls.h>
-
 
 #define TEST_FUNCTION do_test ()
 static int
diff --git a/elf/tst-tls6.c b/elf/tst-tls6.c
index 021622d9c7..9e6235f1d3 100644
--- a/elf/tst-tls6.c
+++ b/elf/tst-tls6.c
@@ -3,7 +3,6 @@
 #include <stdlib.h>
 
 #include <link.h>
-#include <tls.h>
 
 
 #define TEST_FUNCTION do_test ()
diff --git a/elf/tst-tls7.c b/elf/tst-tls7.c
index 1edc2b6356..23a16e4489 100644
--- a/elf/tst-tls7.c
+++ b/elf/tst-tls7.c
@@ -3,7 +3,6 @@
 #include <stdlib.h>
 
 #include <link.h>
-#include <tls.h>
 
 
 #define TEST_FUNCTION do_test ()
diff --git a/elf/tst-tls8.c b/elf/tst-tls8.c
index 36b1baca63..4bf3e3ffb5 100644
--- a/elf/tst-tls8.c
+++ b/elf/tst-tls8.c
@@ -3,7 +3,6 @@
 #include <stdlib.h>
 
 #include <link.h>
-#include <tls.h>
 
 
 #define TEST_FUNCTION do_test ()
diff --git a/elf/tst-tls9.c b/elf/tst-tls9.c
index 12078518fa..6306fb5658 100644
--- a/elf/tst-tls9.c
+++ b/elf/tst-tls9.c
@@ -3,7 +3,6 @@
 #include <stdlib.h>
 
 #include <link.h>
-#include <tls.h>
 
 #define TEST_FUNCTION do_test ()
 static int
diff --git a/elf/tst-tlsmod1.c b/elf/tst-tlsmod1.c
index 4d966c9472..8d9156791b 100644
--- a/elf/tst-tlsmod1.c
+++ b/elf/tst-tlsmod1.c
@@ -1,7 +1,5 @@
 #include <stdio.h>
 
-#include <tls.h>
-
 #include "tls-macros.h"
 
 
diff --git a/elf/tst-tlsmod13.c b/elf/tst-tlsmod13.c
index 76da630a05..7712d8b8c8 100644
--- a/elf/tst-tlsmod13.c
+++ b/elf/tst-tlsmod13.c
@@ -1,5 +1,3 @@
-#include <tls.h>
-
 __thread int a[2] __attribute__ ((tls_model ("initial-exec")));
 
 int
diff --git a/elf/tst-tlsmod13a.c b/elf/tst-tlsmod13a.c
index d5515d4a15..ca4eaccbff 100644
--- a/elf/tst-tlsmod13a.c
+++ b/elf/tst-tlsmod13a.c
@@ -1,5 +1,3 @@
-#include <tls.h>
-
 __thread int b[2] __attribute__ ((tls_model ("initial-exec")));
 
 extern int foo (void);
diff --git a/elf/tst-tlsmod14a.c b/elf/tst-tlsmod14a.c
index 6806d3403c..824c06d1f9 100644
--- a/elf/tst-tlsmod14a.c
+++ b/elf/tst-tlsmod14a.c
@@ -1,8 +1,6 @@
 #include <stdint.h>
 #include <stdio.h>
 
-#include <tls.h>
-
 #define AL 4096
 struct foo
 {
diff --git a/elf/tst-tlsmod16a.c b/elf/tst-tlsmod16a.c
index c16e603c8b..4ec6a6c37d 100644
--- a/elf/tst-tlsmod16a.c
+++ b/elf/tst-tlsmod16a.c
@@ -1,3 +1 @@
-#include <tls.h>
-
 int __thread tlsvar;
diff --git a/elf/tst-tlsmod16b.c b/elf/tst-tlsmod16b.c
index 7268c56bcb..1ecba26dbe 100644
--- a/elf/tst-tlsmod16b.c
+++ b/elf/tst-tlsmod16b.c
@@ -1,5 +1,3 @@
-#include <tls.h>
-
 extern __thread int tlsvar __attribute__((tls_model("initial-exec")));
 
 void *
diff --git a/elf/tst-tlsmod2.c b/elf/tst-tlsmod2.c
index 981923313c..40eb1407f8 100644
--- a/elf/tst-tlsmod2.c
+++ b/elf/tst-tlsmod2.c
@@ -1,7 +1,5 @@
 #include <stdio.h>
 
-#include <tls.h>
-
 #include "tls-macros.h"
 
 
diff --git a/elf/tst-tlsmod3.c b/elf/tst-tlsmod3.c
index 5c456ee2da..6d186c47ee 100644
--- a/elf/tst-tlsmod3.c
+++ b/elf/tst-tlsmod3.c
@@ -1,7 +1,5 @@
 #include <stdio.h>
 
-#include <tls.h>
-
 #include "tls-macros.h"
 
 extern int in_dso (int n, int *caller_foop);
diff --git a/elf/tst-tlsmod4.c b/elf/tst-tlsmod4.c
index dd95486618..86889aac7e 100644
--- a/elf/tst-tlsmod4.c
+++ b/elf/tst-tlsmod4.c
@@ -1,7 +1,5 @@
 #include <stdio.h>
 
-#include <tls.h>
-
 #include "tls-macros.h"
 
 
diff --git a/elf/tst-tlsmod5.c b/elf/tst-tlsmod5.c
index 00d3a9d920..a97c7e5e0c 100644
--- a/elf/tst-tlsmod5.c
+++ b/elf/tst-tlsmod5.c
@@ -1,5 +1,3 @@
-#include <tls.h>
-
 #include "tls-macros.h"
 
 COMMON_INT_DEF(foo);
diff --git a/elf/tst-tlsmod6.c b/elf/tst-tlsmod6.c
index 244d9ae485..e968596dd4 100644
--- a/elf/tst-tlsmod6.c
+++ b/elf/tst-tlsmod6.c
@@ -1,5 +1,3 @@
-#include <tls.h>
-
 #include "tls-macros.h"
 
 COMMON_INT_DEF(bar);