#include #include int i __attribute__ ((section("mysec"))) = { 0 }; int test_sec() __attribute__ ((section("mysec"))); int test_sec() { return (i*2); } main() { int i,j; for (i=0;i< 100;i++){ test_sec(); j=i*10; j++; } return; }