Sign in
third-party-mirror
/
GRTEv5
/
refs/heads/master
/
.
/
google3
/
third_party
/
grte
/
v5_src
/
glibc-2.27
/
elf
/
tst-tls19mod3.c
blob: e7b28016b3b45097b8d763b3f80f173ade07f0d5 [
file
] [
log
] [
blame
] [
edit
]
#include
<stdio.h>
static
int
__thread tbaz __attribute__
((
tls_model
(
"local-dynamic"
)))
=
42
;
void
setter2
(
int
a
)
{
tbaz
=
a
;
}
int
baz
(
void
)
{
printf
(
"&tbaz=%p\n"
,
&
tbaz
);
return
tbaz
;
}