Release Build Map file

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Release Build Map file

跳至解决方案
1,159 次查看
davidzhou
Contributor V

I have K60 Tower board:_K60P144M150SF3RM , MQX 4.2, CodeWarrior v10.6.4

 

I have my project built as release. I found there are a lot of debug strings are included into the .elf binary file.

                              
 .debug_str     0x0000ced5       0x8f C:/Freescale/CW MCU v10.6.4/MCU/ARM_GCC_Support/ewl/lib/armv7e-m/fpu\librt.a(ROMCopy.o)
                  ........            

 

.debug_frame    0x00000000     0x5e40
 .debug_frame   0x00000000       0xe4 ./Sources/MSxUart.o
 .debug_frame   0x000000e4      0x15c ./Sources/MSxSwap.o

 

and when I examine the elf file, there are a lot of strings appended at the end of elf file. I want to limit the size of binary, how do I exclude any unnecessary debug data, debug string, and debug frames, etc from the binary file?

 

Thank you,

David Zhou

标签 (1)
0 项奖励
回复
1 解答
1,071 次查看
davidzhou
Contributor V

Sorry, it is in .elf, not binary file.

Case closed.

Thank you,

David Zhou

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,072 次查看
davidzhou
Contributor V

Sorry, it is in .elf, not binary file.

Case closed.

Thank you,

David Zhou

0 项奖励
回复