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
Add nss-crypt entry. Rename pic_default to libc_cv_pic_default.
[glibc.git]
/
elf
/
tst-tlsmod13a.c
blob
70a02131ee85d8bb44605596e0eb9868fe7a89b2
1
#include <tls.h>
2
3
#if defined HAVE___THREAD && defined HAVE_TLS_MODEL_ATTRIBUTE
4
__thread
int
b
[
2
]
__attribute__
((
tls_model
(
"initial-exec"
)));
5
#else
6
int
b
[
2
];
7
#endif
8
9
extern
int
foo
(
void
);
10
11
int
12
bar
(
void
)
13
{
14
return
foo
() +
b
[
0
];
15
}