1 __thread char bar[10]; 2 extern char size_of_bar asm ("bar@SIZE"); 3 char *bar_size = &size_of_bar; 4 5 char * get_bar(int i,int v)6 get_bar (int i, int v) 7 { 8 bar[i] = v; 9 return bar; 10 } 11