> On Jun 29, 2015, at 10:38 , Joel Sherrill <joel.sherr...@oarcorp.com> wrote:
> 
> The -Map option to ld will show the dependency that pulled in each function 
> or data element.. File level without those options.
> 
> It would be good to know what causes this all to get pulled in.

I’ll try to get to this tonight.  I also would like to know what is pulling it 
in.

> 
>>> Your suggested flags makes a huge difference, it’s now 1424272 bytes
>> in size, at 12% decrease from September and a 22% decrease from
>> building the application with gcc 4.9.2 without the flags. I don’t see
>> as much locale stuff in there.  I only recompiled the user application
>> code and not RTEMS itself.
> 
> Awesome! I thought it would help.

When you did the work on the SPARC did you do everything, starting with the 
development environment build so that the libraries were also built that way?  
Is that likely to be more difficult to do (you mentioned something about 
marking some sections as KEEP) versus the completely painless application 
rebuild that I just did?

Peter
-----------------
Peter Dufault
HD Associates, Inc.      Software and System Engineering

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to