• Relocatable code with const data
    I need to have a relocatable code with const data referenced by the code. Can anybody help on how the code / linker commands be organised
  • String functions in relocatable code, string is fixed in memory
    I have the following code: strcat(tbuf,"\r\nSH B = "); My program memory model is small so I can re-locate the code in any sector. Unfortunately "\r\nSH B = " is fixed at an absolute address. I can...
  • Relocatable code
    Can the ARM compiler-linker produce relocatable object code? That is, the code may be executed from anywhere in memory because it has no absolute program memory references - all is relative to PC. ...
  • Compiler is not specifying subroutines as relocatable
    The compiler is generating the following sub-routine call: 019C DA000000 CALLS SEG (WriteString),WriteString I am translating this to be an Inter-Segment Subroutine Call, where the compiler is...
  • Is the code generated by uvision3 relocatable?
    Hi, Is the compiled code relocatable in uVision3? Meaning that if I burn it as a bin file at a different starting address and jump to it (and redirect the interrupt vectors) it will work?