Retro68/binutils/ld/testsuite/ld-size/size-2b.c

11 lines
164 B
C
Raw Normal View History

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;
}