• 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...
  • 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. ...
  • 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. ...
  • 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