projects
/
external
/
eglibc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Upload Tizen:Base source
[external/eglibc.git]
/
elf
/
tst-tlsmod13a.c
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
}