public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Grant Edwards <grante@visi.com>
To: ecos-discuss@ecos.sourceware.org
Subject: [ECOS] Re: Memory footprint
Date: Wed, 10 May 2006 16:56:00 -0000	[thread overview]
Message-ID: <20060510165605.DFAC454001@rivatek.dnsalias.net> (raw)
In-Reply-To: <20060510151944.GF11815@lunn.ch>

In gmane.os.ecos.general, you wrote:
> On Wed, May 10, 2006 at 09:53:42AM -0500, Grant Edwards wrote:
>> >> what does arm-elf-size say?
>> >
>> > $ arm-elf-size.exe a.out
>> >     text    data     bss     dec     hex filename
>> >    41920    1512    8028   51460    c904 a.out
>> >
>> > I suppose that this means the binary will be 51460Kb in size?
>> 
>> That means the binary will require 43432 bytes of ROM
>> (41920+1512) and 9540 bytes of RAM (8028+1512).
>
> I suppose i should read the man page, but couldn't part of data be
> rodata and so will not be copied to RAM at startup?
>
> [Goes and reads the man page]
>
> There is no mention of the rodata. Hum...

I'm pretty sure the "text" number included rodata.

-- 
Grant Edwards                   grante             Yow!  I just had a NOSE
                                  at               JOB!!
                               visi.com            

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

  parent reply	other threads:[~2006-05-10 16:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-10  9:09 [ECOS] " Emmanuel Viollet
2006-05-10  9:12 ` Andrew Lunn
2006-05-10 12:55   ` Emmanuel Viollet
2006-05-10 13:15     ` [ECOS] Choice of Web Servers Laurie Gellatly
2006-05-10 14:17     ` [ECOS] Memory footprint Andrew Lunn
2006-05-11  7:12       ` Emmanuel Viollet
2006-05-11 16:24         ` Andrew Lunn
2006-05-10 14:53     ` [ECOS] " Grant Edwards
2006-05-10 15:19       ` Andrew Lunn
2006-05-10 15:24         ` Gary Thomas
2006-05-10 16:56         ` Grant Edwards [this message]
2006-05-10 16:55       ` Grant Edwards

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060510165605.DFAC454001@rivatek.dnsalias.net \
    --to=grante@visi.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).