|
From: | David Bourgeois |
Subject: | [avr-gcc-list] How to set section order |
Date: | Wed, 18 Jan 2006 14:01:31 +0100 |
User-agent: | Opera M2/8.51 (Win32, build 7712) |
I created a .bootloader section and I ask the linker to put it at 0x0E00 and associated bootloader() with tis section.
But if I also put smallFunction() in the .bootloader section, then it's placed first at 0x0E00 and bootloader() comes later which is not what I want. It seems I need some kind of subsections like the .initX sections. But then I'm completely lost in the linker manual.
Does anybody knows how to do this? Thanks, David Bourgeois
[Prev in Thread] | Current Thread | [Next in Thread] |