relocatable code?

08 Jul 2012

Hello. I am looking into moving compiled code to an other address than the default one. Goal is to have a small kernel on cpu that would load program from sd card (if updated) and write it to cpu flash before executing it. Question is: can the online compiled code be relocated?

Thank you.