To close this off: All regressions related to --gc-sections should now be
fixed in the LTS 20110716
patches<https://sourceforge.net/projects/mspgcc/files/Patches/LTS/20110716/>
.

SF 
3384754<https://sourceforge.net/tracker/?func=detail&aid=3384754&group_id=42303&atid=432701>is
not a regression and remains in LTS-20110716.  It will prevent
--gc-sections from discarding unused sections if the object files are merged
into a partially-relocated archive using "msp430-ld -r".  Use of "msp430-ar"
will work as expected in LTS-20110716; both work in the development
branches.

If a function that is discarded by --gc-sections includes string constants
(such as printf format messages), those unreferenced constants will not be
removed from the resulting image in LTS-20110716, due to
SF3384766<https://sourceforge.net/tracker/?func=detail&aid=3384766&group_id=42303&atid=432701>.
This non-regression will be fixed in the development branches.

Peter

On Wed, Aug 3, 2011 at 9:42 AM, Grant Edwards <grant.b.edwa...@gmail.com>
wrote:
> On 2011-08-03, aliko <ali.tli...@gmail.com> wrote:
>> To correct issue I've changed couple of lines in memory.x file as where
>> suggested in one forum.
>
> Yep, that's the solution.
>
>> And now firmware works good. The size of firmware using gc-sections
>> is 77% of that not using it and it does metter I think.
>
> Of course it does.
>
> --
> Grant Edwards               grant.b.edwards        Yow! I'll eat ANYTHING
>                                  at               that's BRIGHT BLUE!!
>                              gmail.com
>
>
>
------------------------------------------------------------------------------
> BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to