Are you using all those flags when building the individual object files, or
only when linking? They need to be applied at compile time as well as at
link time. If they were being applied, the individual object files should
mostly not have anything in .text or .data, but instead have things in
.any.text and .any.data (or .near.data or .far.data, as appropriate). You
should be able to check that with msp430-objdump.
Peter
On Wed, Feb 27, 2013 at 2:39 PM, Dan <d...@meta-designs.com> wrote:
> Hi Peter,
>
> Yes, I thought so, neither that works. Overflowed by 10 bytes this time
> only.
> It builds OK without -mmemory-model=large option with the same script.
> Unfortunately, I will need more than 64kB space soon and need to get it
> working.
> Any idea?
>
> Thnx
> Dan.
>
> c:/mspgcc/bin/../lib/gcc/msp430/4.7.0/../../../../msp430/bin/ld.exe:
> ht-r2001.elf section `.data' will not fit in region `rom'
> c:/mspgcc/bin/../lib/gcc/msp430/4.7.0/../../../../msp430/bin/ld.exe:
> section
> .vectors loaded at [0000dfc0,0000dfff] overlaps section .data loaded at
> [0000defa,0000dfc9]
> c:/mspgcc/bin/../lib/gcc/msp430/4.7.0/../../../../msp430/bin/ld.exe: region
> `rom' overflowed by 10 bytes
>
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users