• 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...
  • How write relocatable c-function code
    Hello. I want to relocate some function’s from Flash to a different position in PSRAM for a bootloader. The problem is: Keil generates absolute jumps in the original function. With relative jumps...
  • Overlapping sections while generating relocatable code
    Hi, I'm testing my applications (on the XE167 family) that has some modules that require to be relocated and run in RAM. I followed AN138 and everything is fine for just one module; if I try to select...
  • 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...