Back to index

cell-binutils  2.17cvs20070401
test.c
Go to the documentation of this file.
00001 #pragma weak main_hidden_data
00002 extern int main_hidden_data;
00003 asm (".hidden main_hidden_data");
00004  
00005 #pragma weak main_hidden_func
00006 extern int main_hidden_func ();
00007 asm (".hidden main_hidden_func");
00008 
00009 int
00010 _start (void)
00011 {
00012   int ret = 0;
00013 
00014   if (&main_hidden_data != 0)
00015     ret = 1;
00016   if (main_hidden_func != 0)
00017     ret = 1;
00018 
00019   return ret;
00020 }
00021 
00022 int
00023 __start (void)
00024 {
00025   return _start ();
00026 }