On Fri, Aug 5, 2011 at 12:06 AM, William "Chops" Westfield
<[email protected]> wrote:
>
> On Aug 4, 2011, at 8:18 AM, Peter Bigot wrote:
>
>> --gc-sections should now be fixed
>>   :
>>  Use of "msp430-ar" will work as expected
>
> Hmm.  So is there a tool that will take a source module
> (with multiple functions) compiled with the relevant compiler
> options (-ffunction-sections and -fdata-sections) and produce
> a random-access library of the sort you would have gotten if
> you had broken down the source to file-per-function?

I personally don't know of such a tool; it seems --gc-sections is the
way this is need is expected to be met.  FWIW, as an experiment I
added the flags to msp430-libc and it seems to work, though the
savings is naturally not particularly impressive (90 bytes of a 28KB
image from a monolithic TinyOS program).

Peter

> That way you'd get benefit with or without special linker
> support...
>
> BillW
>
>

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to