Commit c83a7064 authored by Richard M. Stallman's avatar Richard M. Stallman

(__main): New dummy function.

(__do_global_ctors, __do_global_ctors_aux): New dummy fns.
(__CTOR_LIST__, __DTOR_LIST__): New dummy variables.
parent cac29370
...@@ -188,12 +188,14 @@ extern noshare char **environ; ...@@ -188,12 +188,14 @@ extern noshare char **environ;
Provide dummy definitions to avoid error. Provide dummy definitions to avoid error.
(We don't have any real constructors or destructors.) */ (We don't have any real constructors or destructors.) */
#ifdef __GNUC__ #ifdef __GNUC__
__do_clobal_ctors () __do_global_ctors ()
{} {}
__do_clobal_ctors_aux () __do_global_ctors_aux ()
{}
char * __CTOR_LIST__[2] = { (char *) (-1), 0 };
char * __DTOR_LIST__[2] = { (char *) (-1), 0 };
__main ()
{} {}
char * __CTOR_LIST__[1] = { (char *) (-1) };
char * __DTOR_LIST__[1] = { (char *) (-1) };
#endif /* __GNUC__ */ #endif /* __GNUC__ */
/* ARGSUSED */ /* ARGSUSED */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment