Various software sizes calculation

Tim Cussins timcussins at eml.cc
Tue Oct 6 08:24:44 UTC 2009


On Tue, 2009-10-06 at 09:29 +0530, Ali Asgar Nasir wrote:

> The .data segment contains the global variables. That’s true.
> 
> The .text segment contains the code and also the values of all the
> initialized data in the code, along with the RTEMS code. 

I thought initialised variables went in .data and uninitialised went
in .bss ... 

                                    
________________________________________________________________________
> From:rtems-users-bounces at rtems.org
> [mailto:rtems-users-bounces at rtems.org] On Behalf Of Leonard Bise
> Sent: Monday, October 05, 2009 6:50 PM
> To: rtems-users at rtems.org
> Subject: Various software sizes calculation
> 
> 
>  
> 
> 
> Hello all, 
> 
> The questions I have will probably seem quite trivial for most of you
> guys but I'm a novice in this domain so I'd like some help. 
> 
> I'm using the RTEMS OS with a LEON2 processor and I need to find out
> the following sizes for the project : 
> 
>       * RTEMS Stack Size 
>       * Total Variables Size 
>       * Static Data Structure Size 
>       * Application Code Size 
>       * RTEMS Code Size
> 
> 
> I made some research but could not really find out how to find these
> number, all I know at the moment is that the .data segment of my
> program is 32'016 bytes, as I understand this the .data segment
> countain the global variables, is that correct? And .text is 221'760
> bytes, that's the total code of my application so that'd be RTEMS + My
> Code, correct? But how can I find out the size of RTEMS and the other
> sizes in my list? 
> 
> I hope someone can help me. 
> 
> Leo.
> 
> 
> _____________________________________________________________________ 
> 
> This e-mail message may contain proprietary, confidential or legally
> privileged information for the sole use of the person or entity to
> whom this message was originally addressed. Any review, e-transmission
> dissemination or other use of or taking of any action in reliance upon
> this information by persons or entities other than the intended
> recipient is prohibited. If you have received this e-mail in error
> kindly delete this e-mail from your records. If it appears that this
> mail has been forwarded to you without proper authority, please notify
> us immediately at netadmin at patni.com and delete this mail. 
> _____________________________________________________________________ 
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users




More information about the users mailing list