[En-Nut-Discussion] xnutboot entry point

Przemyslaw Rudy prudy at audiotech.pl
Mon Aug 28 18:30:18 CEST 2006


Henrik Maier wrote:
> ...
> 2) You can also specify that main() goes into a different section and
> then specify the section order to the linker. Refer to gcc's man pages
> for further assistance on this topic.
> ...
Right, I actually got the same idea. The only way to be sure that ‘main’
be the first is to put it in the separate section. Otherwise the build
process depends on the assumption for the linker behavior.

Przemek



More information about the En-Nut-Discussion mailing list