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
Updated to fedora-glibc-20060905T0633
[glibc.git]
/
elf
/
tst-tlsmod13a.c
blob
14b12b032b42900cc7823056b53b69eaa5531df9
1
#include <tls.h>
2
3
#if defined USE_TLS && defined HAVE___THREAD \
4
&& defined HAVE_TLS_MODEL_ATTRIBUTE
5
__thread
int
b
[
2
]
__attribute__
((
tls_model
(
"initial-exec"
)));
6
#else
7
int
b
[
2
];
8
#endif
9
10
extern
int
foo
(
void
);
11
12
int
13
bar
(
void
)
14
{
15
return
foo
() +
b
[
0
];
16
}