Tool/software: TI C/C++ Compiler
I am trying to separate binary images using the hex6x tool (this is working already). I'm in the nitty gritty details on what separates the 4 binaries I'm creating from the single *.out file.
Question: I have a stub CPP file with two functions; funcA, funcB with some volatiles to keep them around; The problem is when I change a different library input file with absolutely no "visible" ties to funcA/funcB, I still see unexplained changes in the disassembly for the automatically-generated constructor.
TEXT section .image4_text (Big Endian), 0xE0 bytes at 0xE0xx_xxxx.
E0xx_x100: __sti___19__filename_cpp_fa5f8b8c:
...
...
...
b __cxa_guard_acquire.
...
b __cxa_guard_release
mvk.L2 0,B4
mv.L1 A10, a4
mvk.S1 0x4064, a3 <<<< This one changes. In the previous build when I change code from a different input lib, the STI changes slightly. The previous was 0x4024,A3 instead.
Any help appreciated.
Thanks!
Will
Processor: C6457
CCS 5.1x
CGT 7.3.22