diff options
Diffstat (limited to 'elf/tst-tls2.c')
-rw-r--r-- | elf/tst-tls2.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/elf/tst-tls2.c b/elf/tst-tls2.c index 1810ffa1e3..a15c5f5fe8 100644 --- a/elf/tst-tls2.c +++ b/elf/tst-tls2.c @@ -5,13 +5,16 @@ #include "tls-macros.h" +#ifdef USE_TLS /* Two 'int' variables in TLS. */ VAR_INT_DEF(foo); VAR_INT_DEF(bar); +#endif -int -main (void) +#define TEST_FUNCTION do_test () +static int +do_test (void) { #ifdef USE_TLS int result = 0; @@ -82,3 +85,6 @@ main (void) return 0; #endif } + + +#include "../test-skeleton.c" |