--wrap ld functionality does not work with Init RTEMS function

Joel Sherrill joel.sherrill at OARcorp.com
Tue Apr 8 17:24:26 UTC 2008


Aitor.Viana.Sanchez at esa.int wrote:
>
> Hi all,
>
> does anybody knows why when trying to wrap the Init RTEMS function 
> with the ld --wrap functionality everything compiles well but 
> eventually the wrapper function is not executed?
>
> Maybe I am missing something, but is taking me a while to discover why.
>
Init is a task/thread and threads will not return to the wrapper.
They are entered but exit via rtems_task_delete or pthread_exit.

I would expect the wrapper to be entered, then Init but no return
from Init.
> Regards,
>
> Aitor


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985





More information about the users mailing list