execute code in ram, linker script

Klaus Rudolph lts-rudolph@gmx.de
Mon Jul 30 19:15:00 GMT 2007


Hi again,

I need a section in a linker script which should put my code to the flash and give my the addresses like linked in ram.
My startup code should move the code from flash to ram. Absolutly normal I hope.

But I am not find the correct way to do it.

Please help!

4 sections needed (.text, .data, .bss and my stupied Flash->RAM section)

Could someone give me an example. I also need the symbol definition for the copy routine. 

Please help!
  Klaus



More information about the Binutils mailing list