On May 16, 2012, at 8:14 AM, Adam Ford wrote:

> With an MSP430F149 processor, under IAR, the code compiles and links
> (Code = 45858, data = 3000, CONST=4935)
> 
> Examining the Map file shows .rodata is 0x1a66 in size, .text is 0xc240
> in size, .bss is 0x712

Assuming that the map file numbers match up with the IAR code sizes,
you have gcc code size of 49728 and constant size of 6758.  While a 10% 
increase in code size from one compiler to another is somewhat believable, the 
37% increase in constant data is pretty mysterious, IMO.  If you can track down 
the causes of that, it might yield some interesting clues.

Also, doesn't the 149 have 60K of flash?  Even with the larger segments, I only 
see them adding up to about 56k…

BillW


------------------------------------------------------------------------------
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

Reply via email to