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?