On 2010-7-17 18:49, Maarten Brock wrote:
Thanks, I have already tried with -Wl-b, which still errors:
Now I want to move these AJMP functions in a separate segment which
starts a 0x800 page.
Then place that segment at that address. See the chapter
about bankswitching in the manual, esp. -Wl-b.
?ASlink-Warning-No definition of area PAGE1
According to what you said before:
> #pragma codeseg cannot be saved and restored. It is
> global for the whole source file. So is #pragma
I removed the #pragma save/restore from the specific source file, now the result is correct.