Don't include tls.h in test cases

Remove tls.h includes where they are not needed.
This commit is contained in:
Siddhesh Poyarekar 2013-10-18 19:45:36 +05:30
parent 0bfcf2c73c
commit c7738d0822
24 changed files with 26 additions and 41 deletions

View File

@ -1,3 +1,29 @@
2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
* elf/tst-tls-dlinfo.c: Don't include tls.h.
* elf/tst-tls1.c: Likewise.
* elf/tst-tls10.h: Likewise.
* elf/tst-tls14.c: Likewise.
* elf/tst-tls2.c: Likewise.
* elf/tst-tls3.c: Likewise.
* elf/tst-tls4.c: Likewise.
* elf/tst-tls5.c: Likewise.
* elf/tst-tls6.c: Likewise.
* elf/tst-tls7.c: Likewise.
* elf/tst-tls8.c: Likewise.
* elf/tst-tls9.c: Likewise.
* elf/tst-tlsmod1.c: Likewise.
* elf/tst-tlsmod13.c: Likewise.
* elf/tst-tlsmod13a.c: Likewise.
* elf/tst-tlsmod14a.c: Likewise.
* elf/tst-tlsmod16a.c: Likewise.
* elf/tst-tlsmod16b.c: Likewise.
* elf/tst-tlsmod2.c: Likewise.
* elf/tst-tlsmod3.c: Likewise.
* elf/tst-tlsmod4.c: Likewise.
* elf/tst-tlsmod5.c: Likewise.
* elf/tst-tlsmod6.c: Likewise.
2013-10-18 Ondřej Bílka <neleai@seznam.cz>
[BZ #12486]

View File

@ -2,8 +2,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <tls.h>
#define TEST_FUNCTION do_test ()
static int

View File

@ -1,8 +1,6 @@
/* glibc test for TLS in ld.so. */
#include <stdio.h>
#include <tls.h>
#include "tls-macros.h"

View File

@ -1,4 +1,3 @@
#include <tls.h>
#include <stdlib.h>
struct A

View File

@ -4,8 +4,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <tls.h>
#define AL 4096
struct foo
{

View File

@ -1,8 +1,6 @@
/* glibc test for TLS in ld.so. */
#include <stdio.h>
#include <tls.h>
#include "tls-macros.h"

View File

@ -1,8 +1,6 @@
/* glibc test for TLS in ld.so. */
#include <stdio.h>
#include <tls.h>
#include "tls-macros.h"

View File

@ -2,8 +2,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <tls.h>
#define TEST_FUNCTION do_test ()
static int

View File

@ -2,8 +2,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <tls.h>
#define TEST_FUNCTION do_test ()
static int

View File

@ -3,7 +3,6 @@
#include <stdlib.h>
#include <link.h>
#include <tls.h>
#define TEST_FUNCTION do_test ()

View File

@ -3,7 +3,6 @@
#include <stdlib.h>
#include <link.h>
#include <tls.h>
#define TEST_FUNCTION do_test ()

View File

@ -3,7 +3,6 @@
#include <stdlib.h>
#include <link.h>
#include <tls.h>
#define TEST_FUNCTION do_test ()

View File

@ -3,7 +3,6 @@
#include <stdlib.h>
#include <link.h>
#include <tls.h>
#define TEST_FUNCTION do_test ()
static int

View File

@ -1,7 +1,5 @@
#include <stdio.h>
#include <tls.h>
#include "tls-macros.h"

View File

@ -1,5 +1,3 @@
#include <tls.h>
__thread int a[2] __attribute__ ((tls_model ("initial-exec")));
int

View File

@ -1,5 +1,3 @@
#include <tls.h>
__thread int b[2] __attribute__ ((tls_model ("initial-exec")));
extern int foo (void);

View File

@ -1,8 +1,6 @@
#include <stdint.h>
#include <stdio.h>
#include <tls.h>
#define AL 4096
struct foo
{

View File

@ -1,3 +1 @@
#include <tls.h>
int __thread tlsvar;

View File

@ -1,5 +1,3 @@
#include <tls.h>
extern __thread int tlsvar __attribute__((tls_model("initial-exec")));
void *

View File

@ -1,7 +1,5 @@
#include <stdio.h>
#include <tls.h>
#include "tls-macros.h"

View File

@ -1,7 +1,5 @@
#include <stdio.h>
#include <tls.h>
#include "tls-macros.h"
extern int in_dso (int n, int *caller_foop);

View File

@ -1,7 +1,5 @@
#include <stdio.h>
#include <tls.h>
#include "tls-macros.h"

View File

@ -1,5 +1,3 @@
#include <tls.h>
#include "tls-macros.h"
COMMON_INT_DEF(foo);

View File

@ -1,5 +1,3 @@
#include <tls.h>
#include "tls-macros.h"
COMMON_INT_DEF(bar);