/* glibc test for TLS in ld.so. */
#include <stdio.h>
-#include <tls.h>
#include "tls-macros.h"
-#ifdef USE_TLS
/* Two common 'int' variables in TLS. */
COMMON_INT_DEF(foo);
COMMON_INT_DEF(bar);
-#endif
-#define TEST_FUNCTION do_test ()
static int
do_test (void)
{
-#ifdef USE_TLS
int result = 0;
int *ap, *bp;
}
return result;
-#else
- return 0;
-#endif
}
-#include "../test-skeleton.c"
+#include <support/test-driver.c>