From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlev Zundel Date: Fri, 27 Mar 2009 11:37:08 +0100 Subject: [U-Boot] Size of external u-boot commands In-Reply-To: <9e4733910903261834y1204f19ct98a80e0a689dba65@mail.gmail.com> (Jon Smirl's message of "Thu, 26 Mar 2009 21:34:56 -0400") References: <9e4733910903260647w549a97acv7101ea9347a767bb@mail.gmail.com> <20090326202754.26FC5832E406@gemini.denx.de> <9e4733910903261350v21bf16c5l5729927048e0df3b@mail.gmail.com> <20090326211555.26FCC832E406@gemini.denx.de> <9e4733910903261435x598055f8m74c5ac03ad16b67e@mail.gmail.com> <20090326232647.2BAF7832E406@gemini.denx.de> <9e4733910903261834y1204f19ct98a80e0a689dba65@mail.gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Jon, > On Thu, Mar 26, 2009 at 7:26 PM, Wolfgang Denk wrote: >> Dear Jon Smirl, >> >> In message <9e4733910903261435x598055f8m74c5ac03ad16b67e@mail.gmail.com> you wrote: >>> >>> The *.bin format is not smart enough to encode gaps. It just puts in >>> 60KB of zeros. >> >> Yes, of course. A binary image cannot have holes in it. >> >>> My ELF files are 73KB. >>> -rwxr-xr-x 1 jonsmirl jonsmirl 73290 2009-03-26 16:49 hello_world >>> >>> Tell me the right way to make these example programs small and I'll >>> submit a patch. >> >> I don't see a problem that needs fixing. These are example ?problems. >> The ?image ?size plays no role. If you have any specific requirements >> for your own code, then adjust the linker script ?according ?to ?your >> requirements. > > By providing a sample linker script to make the example programs > smaller, you could avoid discussions like this in the future. But as long as we do not understand what we change or what this does, we may well get a lot of bug threads in return. And I have to admit, I'm not to keen on that. Cheers Detlev -- ... and I will continue to use a low-level language to indicate how machines actually compute. Readers who only want to see algorithms that are already packaged in a plug-in way, using a trendy language, should buy other people's books. -- Donald Knuth, Fascicle 1 -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de