Hello,
Regarding to the execute file size (.out) on TM4C1290NCPDT,my customer is asking some question.
They built same program of TM4C1290NCPDT on difference PC but the execute file size (.out) was difference on difference PC.
Their conditions are following, and these are same on each PC.
CCS: 5.5.0.00077
Complier: arm 5.1.1
PC OS: Win10 Pro
For example, they confirmed it with three PC’s(No.1, No.2, No.3).
No.1<-> No.2 : Same size.
No.1<-> No.3 : Not same size.
1) They confirmed revision of complier, linker and ti-cgt-arm and these revisions weren’t different
and confirmed Linker option on each CCS but these configurations weren’t different.
2) They confirmed some files in compiler folder with comparison tool.
・rtsv7M4_T_le_v4SPD16_eabi.lib -> Not difference
・dmed -> Not difference
・gcc-arm-none-eabi-4_7-2012q4 -> Not difference
3)Next, they confirmed section, and the size of two sections(strtab and shstrtab) were different.
Please see attached files. (readelf_out_PC1.txt/ readelf_out_PC2.txt)
4)The size of each object files(.obj) are same but after link, size of execute files(.out) aren’t same. (below)
PC1:1,213,232byte
PC2:1,213,072byte
When execute files(.out) is converted to binary file.(bin) , size of binary files is same. (below)
But some symbols in map file(.map) are different.
PC1:141,688byte
PC2:141,688byte
Please see attached map files. (L_Tiva.Release_N106_PC1.map/ L_Tiva.Release_N106_PC2.map)
(Question)
They think the reason of different size is different of two sections (strtab and shstrtab).
So, some symbols in map file(.map) are different on each PC.
Their understanding is correct?
If so, why is different on two sections? Could you please tell us the reason?
Or is there possible else reason of different size?
Regards,
Tao_2199
5684.readelf_out_PC1.txt5367.readelf_out_PC2.txtL_Tiva.Release_N106_PC1.txtL_Tiva.Release_N106_PC2.txt
