I'm a user of CCS 5.0.3 with the compiler tool 7.1.2, I compiled my DSP TMS320C6747 C code to target file in ELF format. I have a requirement to extract the binary code of a symbol (for example, a global function or a global variable). However, I found that the size field of all the symbols in the symbol table of the gerated file are 0, which means the size is 0 or unknown refer to the ELF file specification. I prefer some of values mean unknown. So is that possible to extract the binary code eventhough the size field is 0? Or is there some options for compiler that can cause the size field to be non-zero value?
Thanks for your answer in advance.