facf0c92e0
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
21 lines
505 B
C
21 lines
505 B
C
int foo0 __attribute__((used,section(".foo0.0")));
|
|
int foo1 __attribute__((used,section(".foo1.0")));
|
|
int foo2 __attribute__((used,section(".foo2.0")));
|
|
|
|
extern unsigned long __foo0_start;
|
|
extern unsigned long __foo0_end;
|
|
|
|
extern unsigned long __foo1_start;
|
|
extern unsigned long __foo1_end;
|
|
|
|
extern unsigned long __foo2_start;
|
|
extern unsigned long __foo2_end;
|
|
|
|
int
|
|
main (void)
|
|
{
|
|
return ((__foo0_end - __foo0_start) -
|
|
(__foo1_end - __foo1_start) -
|
|
(__foo2_end - __foo2_start));
|
|
}
|