repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* nis/nss_nisplus/nisplus-service.c: Fix locking to use
[glibc.git]
/
elf
/
tst-tlsmod12.c
blob
4602709a185faed665b5cff00294ae66af3d1c88
1
#include
"tst-tls10.h"
2
3
#ifdef USE_TLS__THREAD
4
extern
__thread
struct
A a2
__attribute__
((
tls_model
(
"initial-exec"
)));
5
6
void
7
check1
(
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