[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
--wrap ld functionality does not work with Init RTEMS function
- Date: Tue, 8 Apr 2008 15:01:46 -0500
- From: joel.sherrill at OARcorp.com (Joel Sherrill)
- Subject: --wrap ld functionality does not work with Init RTEMS function
Aitor Viana wrote:
> Hi,
>
> We know that the entry point should be Init but the loader has to
> change
> that to be wrap_Init and real_Init. This linker trick may only
> substitute
> in so many cases. I can see where an indirect pointer through a
> table
> 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...
> 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