Amol Khiste wrote:
mspgcc provides a variable - _etext - to mark the end of .text section. Is there any way to set the beginning of this section?
You can use a custom linker script.Take a generic linker script that's provided for your MCU, and modify the definitions for the "text" section.
You may also have a look at http://mspgcc.sourceforge.net/faq/x71.html HTH, Patrick
