This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

out file address conversion

Is there a utility to reformat the addresses in an out file? I have software which parses an out file and sends the data to an FPGA which them loads the code into a C6472 over HPI. My problem is that the addresses in the out file are all in the local addressing scheme of the cores, and the HPI peripheral only has access to the share aliased regions of each core's memory. I don't want to tell the linker to use the aliased region because then the code is linked to a particular core. Are there any utilities which can perform a out file -> section address change -> out file conversion?

  • I'm not aware of any such utility.  

    If the original link used -r, which causes the relocations to be kept, then you could link it again with the different addresses.  It's worth a try.  Note, however, that the -r option was not designed with this exact purpose in mind.  So you may run into an issue or two.

    Thanks and regards,

    -George