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
NPTL: Add stub createthread.c
[glibc.git]
/
elf
/
tst-tlsmod12.c
blob
d0be51891ad8f22b880e6fe72a951b1d4a8c90d8
1
#include
"tst-tls10.h"
2
3
extern
__thread
struct
A a2
__attribute__
((
tls_model
(
"initial-exec"
)));
4
5
void
6
check1
(
void
)
7
{
8
if
(
a1
.
a
!=
4
||
a1
.
b
!=
5
||
a1
.
c
!=
6
)
9
abort
();
10
if
(
a2
.
a
!=
7
||
a2
.
b
!=
8
||
a2
.
c
!=
9
)
11
abort
();
12
}