Hi,
thanks for your reply. My linker file includes a .data section like yours. My problem is, that CodeWarrior loads this .data section to the linked address ("ram" address) and not to the address directly behind the .text section (from which my ctr0 will copy the .data section to the linked address).
This means, after CodeWarrior loaded the elf file, the data in RAM is correct, but when my crt0 code is executed (like it will be, when starting out of flash), it will overwrite the data in RAM.
Is there a possibility to get CodeWarrior to load the .data section right behind the .text section (the AT(...) address of .data section)?