repo.or.cz
/
glibc
/
nacl-glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fstat(): Fix to convert between the NaCl and glibc struct layouts
[glibc/nacl-glibc.git]
/
elf
/
tst-tls12.c
blob
84aa7d35cac4aeebf702e14366740e6b9890fedc
1
#include
"tst-tls10.h"
2
3
#define CHECK(N, S) \
4
p = &a##N; \
5
if (p->a != S || p->b != S + 1 || p->c != S + 2) \
6
abort ()
7
8
int
9
main
(
void
)
10
{
11
#ifdef USE_TLS__THREAD
12
struct
A
*
p
;
13
check1
();
14
CHECK
(
1
,
4
);
15
CHECK
(
2
,
7
);
16
#endif
17
exit
(
0
);
18
}