1 int foo __attribute__ ((section ("_data_foo"))) = 0; 2 extern int foo_alias __attribute__ ((weak, alias ("foo"))); 3 extern char __start__data_foo; 4 asm (".type __start__data_foo,%object"); 5 int x1 = 1; 6 int x2 = 2; 7 8 char * 9 bar () 10 { 11 foo = -1; 12 return &__start__data_foo; 13 } 14