Some more startup.o refactoring:
commitb1e475983757b33645d894171aa1e3f17de40d1a
authorverhaegs <verhaegs@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Wed, 8 Jul 2009 15:04:57 +0000 (8 15:04 +0000)
committerverhaegs <verhaegs@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Wed, 8 Jul 2009 15:04:57 +0000 (8 15:04 +0000)
treef4e47327cf758b15aa7fa5cf8431b08ee7fb757a
parent2f3e13dd06b784746bfc417c530abb0bf0106103
Some more startup.o refactoring:
* Moved declaration of global variables __argstr, __argsize, __argv, __argc,
  __startup_error to autoinit lib.
* Moved functions __startup_entries_init() and __startup_entries_next() to
  autoinit lib.
* Renamed 'struct aros_startup' to 'struct arosc_startup' and moved the
  declaration from <aros/startup.h> to "__arosc_privdata".
* Moved initialization of arosc_startup to arosc.library autoinit code;
  including initialization of the jmp_buf for the exit() function.
  Code not using arosc will now not have this unneeded init code anymore.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@31570 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
12 files changed:
compiler/autoinit/mmakefile.src
compiler/autoinit/programentries.c [new file with mode: 0644]
compiler/autoinit/startupvars.c [new file with mode: 0644]
compiler/clib/__arosc_privdata.h
compiler/clib/__vfork.c
compiler/clib/arosc_autoinit.c
compiler/clib/wait.c
compiler/clib/waitpid.c
compiler/startup/detach.c
compiler/startup/mmakefile.src
compiler/startup/startup.c
compiler/startup/startup.h