source: vendor/glibc-tests/glibc/elf/tst-tlsmod12.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: 264 bytes
Line 
1#include "tst-tls10.h"
2
3#ifdef USE_TLS__THREAD
4extern __thread struct A a2 __attribute__((tls_model("initial-exec")));
5
6void
7check1 (void)
8{
9 if (a1.a != 4 || a1.b != 5 || a1.c != 6)
10 abort ();
11 if (a2.a != 7 || a2.b != 8 || a2.c != 9)
12 abort ();
13}
14#endif
Note: See TracBrowser for help on using the repository browser.