fix config file path
[AROS.git] / compiler / clib / arosc_startup.c
blobcac73d3d5c77c384553ce1fb3cf4c12dad92c3c9
1 /*
2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: autoinit library - arosc.library specific code
6 Lang: english
7 */
9 #include <aros/debug.h>
10 #include <aros/symbolsets.h>
11 #include <aros/startup.h>
13 #include <sys/arosc.h>
15 static void __arosc_startup(struct ExecBase *SysBase)
17 jmp_buf exitjmp;
19 if (setjmp(exitjmp) == 0)
21 D(bug("[__arosc_startup] setjmp() called\n"));
23 /* Tell arosc.library a program using it has started */
24 __arosc_program_startup(exitjmp, (int *)&__startup_error);
25 D(bug("[__arosc_startup] Library startup called\n"));
27 __startup_entries_next();
29 else
31 D(bug("[__arosc_startup] setjmp() return from longjmp\n"));
34 /* Tell arosc.library program has reached the end */
35 __arosc_program_end();
37 D(bug("[__arosc_startup] Leave\n"));
40 ADD2SET(__arosc_startup, PROGRAM_ENTRIES, 0);