martin wakely

MPC5121 CodeWarrier relocatable output

Discussion created by martin wakely on Nov 26, 2008
Latest reply on Dec 4, 2008 by martin wakely

MPC5121 power pc, no OS (actually a port of an OS we wrote in-house for Coldfire)

I want to be able to read an application at boot time (from SD card) and relocate it to run at a memory address defined at run time.

My understanding of elf is that there is an option to produce a binary file that contains relocation tables etc.

Can anyone tell me if the CodeWarrier linker can produce the required elf format?

And where can I find the specification for the elf format that CodeWarrier generates?

Many thanks

Martin Wakely