Example code and generated output for investigating MSP430 code size. Observations on the output can be read here.
.- Source files
output- Generated objdump output. These were generated with msp430-gcc 18.104.22.168, obtained pre-built from the Texas Instruments website.
gcc_and_newlib- Various GCC/Newlib source files used to try and decipher some of the magic numbers contained within the objdump'd files. These were obtained from the sources of msp430-gcc-22.214.171.124_source-full and additionally from a pre-build and installed msp430-gcc 126.96.36.199.