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
Fix strstr/strcasestr/fma/fmaf on x86_64.
[glibc.git]
/
elf
/
tst-tlsmod13.c
blob
e4e23af2d851aa038924969e907eabea5d427d33
1
#include <tls.h>
2
3
#if defined HAVE___THREAD && defined HAVE_TLS_MODEL_ATTRIBUTE
4
__thread
int
a
[
2
]
__attribute__
((
tls_model
(
"initial-exec"
)));
5
#else
6
int
a
[
2
];
7
#endif
8
9
int
10
foo
(
void
)
11
{
12
return
a
[
0
];
13
}