18fa789ca0
Routines are no longer flagged as constructors using the FUNC_CONSTRUCT(level) macro. This is because some compilers do not support constructor levels. To indicate that a routine should be a constructor, the SYS_PREKERNEL_INIT() macro should be used AFTER the definition of the routine. For example ... void my_library_init(void) { ... } SYS_PREKERNEL_INIT(my_library_init, 500); The first parameter to SYS_PREKERNEL_INIT() is the name of the routine. The second is the priority level (000...999). The lower the number, the higher the priority. NOTE: It is important that all three digits are specified; otherwise the linker may put the constructors in an undesired order. Change-Id: Ic334875c60a453b39c10a2ffdee856b4851cb16c Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com> |
||
---|---|---|
.. | ||
abs_sym_gcc.h | ||
common.h | ||
gcc.h |