source: vendor/glibc-tests/2005-06-14/elf/tst-tlsmod15b.c

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: 206 bytes
Line 
1#include "tst-tls10.h"
2
3#ifdef USE_TLS__THREAD
4__thread int mod15b_var __attribute__((tls_model("initial-exec")));
5
6int
7in_dso (void)
8{
9 return mod15b_var;
10}
11#else
12int
13in_dso (void)
14{
15 return 0;
16}
17#endif
Note: See TracBrowser for help on using the repository browser.