mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
Don't include tls.h in test cases
Remove tls.h includes where they are not needed.
This commit is contained in:
parent
0bfcf2c73c
commit
c7738d0822
26
ChangeLog
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>
|
2013-10-18 Ondřej Bílka <neleai@seznam.cz>
|
||||||
|
|
||||||
[BZ #12486]
|
[BZ #12486]
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <tls.h>
|
|
||||||
|
|
||||||
|
|
||||||
#define TEST_FUNCTION do_test ()
|
#define TEST_FUNCTION do_test ()
|
||||||
static int
|
static int
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
/* glibc test for TLS in ld.so. */
|
/* glibc test for TLS in ld.so. */
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <tls.h>
|
|
||||||
|
|
||||||
#include "tls-macros.h"
|
#include "tls-macros.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#include <tls.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
struct A
|
struct A
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <tls.h>
|
|
||||||
|
|
||||||
#define AL 4096
|
#define AL 4096
|
||||||
struct foo
|
struct foo
|
||||||
{
|
{
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
/* glibc test for TLS in ld.so. */
|
/* glibc test for TLS in ld.so. */
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <tls.h>
|
|
||||||
|
|
||||||
#include "tls-macros.h"
|
#include "tls-macros.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
/* glibc test for TLS in ld.so. */
|
/* glibc test for TLS in ld.so. */
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <tls.h>
|
|
||||||
|
|
||||||
#include "tls-macros.h"
|
#include "tls-macros.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <tls.h>
|
|
||||||
|
|
||||||
|
|
||||||
#define TEST_FUNCTION do_test ()
|
#define TEST_FUNCTION do_test ()
|
||||||
static int
|
static int
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <tls.h>
|
|
||||||
|
|
||||||
|
|
||||||
#define TEST_FUNCTION do_test ()
|
#define TEST_FUNCTION do_test ()
|
||||||
static int
|
static int
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <link.h>
|
#include <link.h>
|
||||||
#include <tls.h>
|
|
||||||
|
|
||||||
|
|
||||||
#define TEST_FUNCTION do_test ()
|
#define TEST_FUNCTION do_test ()
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <link.h>
|
#include <link.h>
|
||||||
#include <tls.h>
|
|
||||||
|
|
||||||
|
|
||||||
#define TEST_FUNCTION do_test ()
|
#define TEST_FUNCTION do_test ()
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <link.h>
|
#include <link.h>
|
||||||
#include <tls.h>
|
|
||||||
|
|
||||||
|
|
||||||
#define TEST_FUNCTION do_test ()
|
#define TEST_FUNCTION do_test ()
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <link.h>
|
#include <link.h>
|
||||||
#include <tls.h>
|
|
||||||
|
|
||||||
#define TEST_FUNCTION do_test ()
|
#define TEST_FUNCTION do_test ()
|
||||||
static int
|
static int
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <tls.h>
|
|
||||||
|
|
||||||
#include "tls-macros.h"
|
#include "tls-macros.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
#include <tls.h>
|
|
||||||
|
|
||||||
__thread int a[2] __attribute__ ((tls_model ("initial-exec")));
|
__thread int a[2] __attribute__ ((tls_model ("initial-exec")));
|
||||||
|
|
||||||
int
|
int
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
#include <tls.h>
|
|
||||||
|
|
||||||
__thread int b[2] __attribute__ ((tls_model ("initial-exec")));
|
__thread int b[2] __attribute__ ((tls_model ("initial-exec")));
|
||||||
|
|
||||||
extern int foo (void);
|
extern int foo (void);
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <tls.h>
|
|
||||||
|
|
||||||
#define AL 4096
|
#define AL 4096
|
||||||
struct foo
|
struct foo
|
||||||
{
|
{
|
||||||
|
@ -1,3 +1 @@
|
|||||||
#include <tls.h>
|
|
||||||
|
|
||||||
int __thread tlsvar;
|
int __thread tlsvar;
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
#include <tls.h>
|
|
||||||
|
|
||||||
extern __thread int tlsvar __attribute__((tls_model("initial-exec")));
|
extern __thread int tlsvar __attribute__((tls_model("initial-exec")));
|
||||||
|
|
||||||
void *
|
void *
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <tls.h>
|
|
||||||
|
|
||||||
#include "tls-macros.h"
|
#include "tls-macros.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <tls.h>
|
|
||||||
|
|
||||||
#include "tls-macros.h"
|
#include "tls-macros.h"
|
||||||
|
|
||||||
extern int in_dso (int n, int *caller_foop);
|
extern int in_dso (int n, int *caller_foop);
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <tls.h>
|
|
||||||
|
|
||||||
#include "tls-macros.h"
|
#include "tls-macros.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
#include <tls.h>
|
|
||||||
|
|
||||||
#include "tls-macros.h"
|
#include "tls-macros.h"
|
||||||
|
|
||||||
COMMON_INT_DEF(foo);
|
COMMON_INT_DEF(foo);
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
#include <tls.h>
|
|
||||||
|
|
||||||
#include "tls-macros.h"
|
#include "tls-macros.h"
|
||||||
|
|
||||||
COMMON_INT_DEF(bar);
|
COMMON_INT_DEF(bar);
|
||||||
|
Loading…
Reference in New Issue
Block a user