mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 19:49:32 +00:00
27 lines
382 B
C
27 lines
382 B
C
#pragma weak main_hidden_data
|
|
extern int main_hidden_data;
|
|
__asm__ (".hidden main_hidden_data");
|
|
|
|
#pragma weak main_hidden_func
|
|
extern int main_hidden_func ();
|
|
__asm__ (".hidden main_hidden_func");
|
|
|
|
int
|
|
_start (void)
|
|
{
|
|
int ret = 0;
|
|
|
|
if (&main_hidden_data != 0)
|
|
ret = 1;
|
|
if (main_hidden_func != 0)
|
|
ret = 1;
|
|
|
|
return ret;
|
|
}
|
|
|
|
int
|
|
__start (void)
|
|
{
|
|
return _start ();
|
|
}
|