mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
invoke the library's constructor/destructor functions in a very particular order. That way, you can use constructor/destructor functions in your own code and not have them clash with the library's own functions. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14871 87f5fb63-7c3d-0410-a384-fd976d0f7a62
20 lines
569 B
C
20 lines
569 B
C
/*
|
|
* $Id: crtend.c,v 1.2 2005-03-09 21:07:25 obarthel Exp $
|
|
*
|
|
* :ts=4
|
|
*
|
|
* End markers for the CTOR and DTOR list.
|
|
*/
|
|
|
|
#if defined(__amigaos4__)
|
|
|
|
/****************************************************************************/
|
|
|
|
static void (*__CTOR_LIST__[1]) (void) __attribute__((used, section(".ctors"), aligned(sizeof(void (*)(void))) ));
|
|
static void (*__DTOR_LIST__[1]) (void) __attribute__((used, section(".dtors"), aligned(sizeof(void (*)(void))) ));
|
|
|
|
/****************************************************************************/
|
|
|
|
#endif /*__amigaos4__ */
|
|
|