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

Forum Post: RE: undefined reference

$
0
0
I'm glad it worked out. I wouldn't have guessed that that feature worked that way. I forget which optimizations are in "-Os", but in general I wouldn't be surprised to see the code for some functions inline-d and/or broken up, such that they didn't appear as units any more. Some functions might indeed completely disappear, if the optimizer's analysis concluded they couldn't ever be called. Also, don't be too concerned about the raw size of the .ELF file -- the newer compiler may just be putting in more extra stuff (debug information, e.g.) than the old one. The msp430-elf-size output shows what's actually going into the device.

Viewing all articles
Browse latest Browse all 62426

Trending Articles



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