Hi,

when compiling a C/C++ file, the resulting symbols in the object file 
have the type "NOTYPE". It should be "FUNC" instead:

readelf --syms test.o | grep my_function
      7: 00000000     2 NOTYPE  GLOBAL DEFAULT    1 my_function

The generated assembler code contains the following declarations for a 
function:

         .file   "test.c"
.text
         .balign 2
         .global my_function

There should be a type declaration like ".type my_function, @function". 
The mspdebug utility will ignore symbols without proper type when 
reading ELF symbol tables.

Regards,
Ingo

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to