declaration of USE_INIT_FINI

Samuel Bitton S.Bitton at sstl.co.uk
Mon Dec 11 09:59:08 UTC 2006


Where is the constant USE_INIT_FINI defined?
>From a code search some BSPs seem to have it defined in the startup/Makefile. However in my BSP I haven't added it but for some reasons the code seems to think it is defined as in threadhandler.c the _Init function is still called. And the call to this _Init function craches RTEMS during its initialisation.
Isn't that a bug?
Someone else who worked on an i386ex BSP also had the same problem in the past.

What does this _Init function do anyway? I can't find where it is defined either.

Thx
Sam




More information about the users mailing list