Part Number: TMS320TCI6484
Other Parts Discussed in Thread: CCSTUDIO
Tool/software: TI C/C++ Compiler
Hi,
for example, when I compile a c file to object file, the relocation parts in output object files in two generations as bellow, you may notice the DDR_CODE sections are listed at the top in one build, but in another build, they are listed in last part. This difference occurs in obj file, but leads to the final lib files, .out files are also different. Our customer requests us to release same binaries based on the same code and build environment, this is why I ask to solve this problem.
Then I narrowed down the problem, I found that the intermediate file xxxxx11 file in temp directory is always the same, bu the the output object file produced by asm6x.exe are different. Could anyone tell me what's the root cause in asm6x.exe make this difference? And how to fix it?
The building tool is C6000 Code Generation Tools 6.0.23.
Relocation Table 1/1 for Section ".debug_line"
id type offset addend symbol
-- ---- ------ ------ ------
0 RM_DWARF_LENGTH 0x00000000 0 N/A
1 RM_OBJ 0x0000008c 0 .DDR_CODE
2 RM_RANGE 0x0000008c 0 N/A
3 R_RELLONG 0x0000008f 0 .DDR_CODE
4 R_RELLONG 0x000000ab 0 .DDR_CODE
5 RM_OBJ 0x000000e2 0 .text
6 RM_RANGE 0x000000e2 0 N/A
7 R_RELLONG 0x000000e5 0 .text
8 R_RELLONG 0x000000fb 0 .text
9 R_RELLONG 0x00000112 0 .text
10 R_RELLONG 0x0000012a 0 .text
11 R_RELLONG 0x00000147 0 .text
12 R_RELLONG 0x00000166 0 .text
13 R_RELLONG 0x0000017c 0 .text
14 R_RELLONG 0x00000192 0 .text
15 R_RELLONG 0x000001a9 0 .text
16 R_RELLONG 0x000001c3 0 .text
17 R_RELLONG 0x000001eb 0 .text
18 R_RELLONG 0x00000201 0 .text
19 R_RELLONG 0x00000219 0 .text
20 R_RELLONG 0x00000249 0 .text
Relocation Table 1/1 for Section ".debug_line"
id type offset addend symbol
-- ---- ------ ------ ------
0 RM_DWARF_LENGTH 0x00000000 0 N/A
1 RM_OBJ 0x0000008c 0 .text
2 RM_RANGE 0x0000008c 0 N/A
3 R_RELLONG 0x0000008f 0 .text
4 R_RELLONG 0x000000a5 0 .text
5 R_RELLONG 0x000000bc 0 .text
6 R_RELLONG 0x000000d4 0 .text
7 R_RELLONG 0x000000f1 0 .text
8 R_RELLONG 0x00000110 0 .text
9 R_RELLONG 0x00000126 0 .text
10 R_RELLONG 0x0000013c 0 .text
11 R_RELLONG 0x00000153 0 .text
12 R_RELLONG 0x0000016d 0 .text
13 R_RELLONG 0x00000195 0 .text
14 R_RELLONG 0x000001ab 0 .text
15 R_RELLONG 0x000001c3 0 .text
16 R_RELLONG 0x000001f3 0 .text
17 RM_OBJ 0x00000218 0 .DDR_CODE
18 RM_RANGE 0x00000218 0 N/A
19 R_RELLONG 0x0000021b 0 .DDR_CODE
20 R_RELLONG 0x00000237 0 .DDR_CODE