aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-size/size-10b.c
blob: b55ecdf18fa68bdc1b459bddbf7653880ef136d7 (plain)
1
2
3
4
5
6
7
8
9
10
__thread char bar[10];
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;
}