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

11 lines
159 B
C

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