On Sat, 2010-01-09 at 11:58 -0700, Carl wrote: > Hello, > > I'm using mspgcc4 v4.4.2 tools and I'm running into the following error: > > msp430-ld: bin/a.elf section .text will not fit in region text > msp430-ld: section .vectors [0000ffc0 -> 0000ffff] overlaps > section .text [00003100 -> 000105f5] > msp430-ld: region text overflowed by 1776 bytes > make: *** [bin/a.elf] Error 1 > > Now I understand this is telling me my code size is too big. What I > don't understand is why the vectors region is at 0x0000ffc0 and my text > region is limited to 0xcec0 (52928) bytes. I'm using a msp430x2618 which > has 116k of flash. > > So I would expect my allowable text region to be closer to 116k rather > than the ~52k. What am I missing here? >
I notice that there is a region defined in the compiler called fartext which starts at 0x10000. Is fartext supported? >From gdb I can't seem to examine memory past 0xffff. Is there something special I can tell gdb to access this memory? Thanks, Carl
