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.

manipulating variable name in C66 elf format binary

we are building a C6657 based applicagtion using CGT 7.2. Is there a way that we can use  tool similar as "objcpy --prefix-symbols" to change the global variable and functions in binary obj or archive file?

thanks

Weichun

  • I don't think the TI toolset provides that functionality, but because it is ELF format, you could probably rebuild  objcpy for C6000 EABI and use that.

  • thanks for the idea.

    Could you please give me some links on where I can start? How should I include the TI C66 elf format specifics when I re-build the objcpy tool for C66x? Can I take any objcpy source from gnu? any document on the difference between C6000 EABI and standard elf in addtion to the EABI doc spab89?

    What would I miss and go wrong if I simply run objcpy on C6000 elf file? -- we do not plan to use relocation.

    thanks

    Weichun

  • Weichun Yuan said:
    any document on the difference between C6000 EABI and standard elf in addtion to the EABI doc spab89?

    No.  Just in case you haven't found it already, here it is.

    Thanks and regards,

    -George