Browse Source

Don't include tls.h in test cases

Remove tls.h includes where they are not needed.
gentoo/2.19
Siddhesh Poyarekar 13 years ago
parent
commit
c7738d0822
  1. 26
      ChangeLog
  2. 2
      elf/tst-tls-dlinfo.c
  3. 2
      elf/tst-tls1.c
  4. 1
      elf/tst-tls10.h
  5. 2
      elf/tst-tls14.c
  6. 2
      elf/tst-tls2.c
  7. 2
      elf/tst-tls3.c
  8. 2
      elf/tst-tls4.c
  9. 2
      elf/tst-tls5.c
  10. 1
      elf/tst-tls6.c
  11. 1
      elf/tst-tls7.c
  12. 1
      elf/tst-tls8.c
  13. 1
      elf/tst-tls9.c
  14. 2
      elf/tst-tlsmod1.c
  15. 2
      elf/tst-tlsmod13.c
  16. 2
      elf/tst-tlsmod13a.c
  17. 2
      elf/tst-tlsmod14a.c
  18. 2
      elf/tst-tlsmod16a.c
  19. 2
      elf/tst-tlsmod16b.c
  20. 2
      elf/tst-tlsmod2.c
  21. 2
      elf/tst-tlsmod3.c
  22. 2
      elf/tst-tlsmod4.c
  23. 2
      elf/tst-tlsmod5.c
  24. 2
      elf/tst-tlsmod6.c

26
ChangeLog

@ -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]

2
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

2
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"

1
elf/tst-tls10.h

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

2
elf/tst-tls14.c

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

2
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"

2
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"

2
elf/tst-tls4.c

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

2
elf/tst-tls5.c

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

1
elf/tst-tls6.c

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

1
elf/tst-tls7.c

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

1
elf/tst-tls8.c

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

1
elf/tst-tls9.c

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

2
elf/tst-tlsmod1.c

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

2
elf/tst-tlsmod13.c

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

2
elf/tst-tlsmod13a.c

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

2
elf/tst-tlsmod14a.c

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

2
elf/tst-tlsmod16a.c

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

2
elf/tst-tlsmod16b.c

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

2
elf/tst-tlsmod2.c

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

2
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);

2
elf/tst-tlsmod4.c

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

2
elf/tst-tlsmod5.c

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

2
elf/tst-tlsmod6.c

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

Loading…
Cancel
Save