On Thu, Jun 14, 2012 at 11:59 AM, Thomas Chapelle <cyn...@hotmail.fr> wrote: > > Just wanted to say hi to the community and congrats to Peter Bigot for the > new mspgcc dev version. > We have succesfully porting contiki on a msp430f5437/CC2520 with 20 bits > addressing and it's working like a charm. Still, we had to "force" the > interrupt function to be placed on the right flash memory section. > (.near.text was located on information section of the flash !!????)
Ouch; yes, the problem is the linker script didn't explicitly provide a placement for .near.text so ld puts it in some section following rules I don't know. This is SF 3532786. You can edit the installed linker script in {prefix}/msp430/lib/ldscripts/msp430.x so that the input section is added to the .text output section: __dtors_end = .; . = ALIGN(2); *(.text .text.* .gnu.linkonce.t.*) *(.near.text .near.text.*) *(.any.text .any.text.*) } > REGION_TEXT .rodata : In the released 20120606 version, the line referencing .near.text is missing. > Despite this, we haven't been throught any major bugs. Glad to hear it. I'll be back on mspgcc work sometime next week. Peter > CheersThomas > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Mspgcc-users mailing list > Mspgcc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mspgcc-users > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users