1 int foo0 __attribute__((used,section(".foo0.0")));
2 int foo1 __attribute__((used,section(".foo1.0")));
3 int foo2 __attribute__((used,section(".foo2.0")));
5 extern unsigned long __foo0_start;
6 extern unsigned long __foo0_end;
8 extern unsigned long __foo1_start;
9 extern unsigned long __foo1_end;
11 extern unsigned long __foo2_start;
12 extern unsigned long __foo2_end;
17 return ((__foo0_end - __foo0_start) -
18 (__foo1_end - __foo1_start) -
19 (__foo2_end - __foo2_start));