From: Jon Smirl Date: Fri, 27 Mar 2009 08:47:40 -0400 Subject: [U-Boot] Size of external u-boot commands In-Reply-To: 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> <20090327105703.E957C832E406@gemini.denx.de> Message-ID: <9e4733910903270547g67cdcf04xbc864e8202b217fc@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Mar 27, 2009 at 7:17 AM, Detlev Zundel wrote: > Hi Wolfgang, > >> In message you wrote: >>> >>> > 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. >> >> But we do understand what's going on, or am I missing something? > > I was referring to the other proposed change which I still do not > understand: > >> The *.bin files are ending up at 60-75K. ?Adding this to the linker >> script fixes it. >> ? .gcc_except_table : ONLY_IF_RO { KEEP (*(.gcc_except_table)) >> *(.gcc_except_table.*) } > > I fully agree that the examples should rather use defaults because as > the name implies, they are examples after all, not tightly optimized > special cases. Providing an example linker script would show us the right way to write it. I've never written a linker script for the ppc and I don't know what I'm doing. Copying the the one over from the CPU directory was not sufficient to make the app smaller. -- Jon Smirl jonsmirl at gmail.com