source: vendor/glibc-tests/glibc/elf/tst-tls10.h

Last change on this file was 2036, checked in by bird, 20 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 824 bytes
Line 
1#include <tls.h>
2#include <stdlib.h>
3
4#if defined USE_TLS && defined HAVE___THREAD \
5 && defined HAVE_TLS_MODEL_ATTRIBUTE
6# define USE_TLS__THREAD
7
8struct A
9{
10 char a;
11 int b;
12 long long c;
13};
14
15extern __thread struct A a1, a2, a3, a4;
16extern struct A *f1a (void);
17extern struct A *f2a (void);
18extern struct A *f3a (void);
19extern struct A *f4a (void);
20extern struct A *f5a (void);
21extern struct A *f6a (void);
22extern struct A *f7a (void);
23extern struct A *f8a (void);
24extern struct A *f9a (void);
25extern struct A *f10a (void);
26extern int f1b (void);
27extern int f2b (void);
28extern int f3b (void);
29extern int f4b (void);
30extern int f5b (void);
31extern int f6b (void);
32extern int f7b (void);
33extern int f8b (void);
34extern int f9b (void);
35extern int f10b (void);
36extern void check1 (void);
37extern void check2 (void);
38#endif
Note: See TracBrowser for help on using the repository browser.