Retro68/binutils/ld/testsuite/ld-size/size-10b.c
Wolfgang Thaller f485e125c4 binutils 2.39
2022-10-27 20:45:45 +02:00

11 lines
163 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;
}