Im the OP, i would like to reiterate the following comment:
produce.
Im a senior undergrad who has just started working with the GNU-ARM toolchain. Ive found it difficult to understand what sections the compiler would produce, and how to map them in the appropriate output section (.text or .data, since these are the only two i would extract from the *.elf file to make a final *.bin file that would be loaded onto the chip). Would someone please help me with that.
Regards, Mayank