Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62331

Forum Post: RE: TI msp430-gcc howto remove unused symbols without removing debug information

$
0
0
[quote user="Rick Kimball"]It seems to have been deleted, maybe they fixed it.[/quote] I wanted to check your posting in the compiler forum first because I ran into a situation where the "--gc-sections" made the linker remove the debug info. I'm not sure if it relates to a tight memory situation because in the meantime I've reduced the memory footprint of my code and the debug info is available right now. What I can definitely say is that if I select "-ffunction-sections" in addition to "--gc-sections" all debug info vanishes. Nick Clifton , could you possibly comment on this? PS: I' using CCS v6.1.3 [gcc version 5.3.0 (GNUPro 15r1) (Based on: GCC 5.3 GDB 7.7 Binutils 2.25 Newlib 2.2.0) (GCC)]

Viewing all articles
Browse latest Browse all 62331

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>