aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-size/size-2b.c
blob: 0f02c940279a1eea675d180a05b3192e78aafea1 (plain)
1
2
3
4
5
6
7
8
9
10
extern __thread char bar[];
extern char size_of_bar asm ("bar@SIZE");
char *bar_size = &size_of_bar;

char *
get_bar (int i, int v)
{
  bar[i] = v;
  return bar;
}