repo.or.cz
/
glibc
/
history.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Export fallocate and fallocate64 for GLIBC_2.10.
[glibc/history.git]
/
elf
/
tst-tlsmod16b.c
blob
308e6bae92b98b9c4666150c78866339c46d3916
1
#include <tls.h>
2
3
#if defined HAVE___THREAD && defined HAVE_TLS_MODEL_ATTRIBUTE
4
extern
__thread
int
tlsvar
__attribute__
((
tls_model
(
"initial-exec"
)));
5
#else
6
extern
int
tlsvar
;
7
#endif
8
9
void
*
10
in_dso
(
void
)
11
{
12
return
&
tlsvar
;
13
}