summaryrefslogtreecommitdiff
path: root/elf/tst-tlsmod15b.c
blob: 4f63eab1446db453a9975e173bfdab415c261e39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "tst-tls10.h"

#ifdef USE_TLS__THREAD
__thread int mod15b_var __attribute__((tls_model("initial-exec")));

int
in_dso (void)
{
  return mod15b_var;
}
#else
int
in_dso (void)
{
  return 0;
}
#endif