--wrap ld functionality does not work with Init RTEMS function
joel.sherrill at OARcorp.com
Tue Apr 8 20:01:46 UTC 2008
Aitor Viana wrote:
> We know that the entry point should be Init but the loader has to
> that to be wrap_Init and real_Init. This linker trick may only
> in so many cases. I can see where an indirect pointer through a
> might break it.
> I modified also a little bit your example to do it through a sort of
> table, and also worked natively. I do not know whether is maybe an
> issue of the sparc-rtems cross compiler.
The real answer will be to look at what the structure has in it on
the sparc. :-D
So until tomorrow...
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