Greetings,

I have been having similar issues with the msp430-elf as well, but
regarding line numbers. It may be related to this issue. I reported it
upstream [1,2] but really did not get any feedback on the issue. Maybe
our issues are related?

[1] https://www.sourceware.org/ml/gdb/2015-09/msg00030.html
[2] https://sourceware.org/bugzilla/show_bug.cgi?id=19033

Cheers,
Orlando.

On 01/22/2016 12:38 PM, Ingo van Lil wrote:
> 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
> 

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
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