Hi Spen, On Mon, 2009-02-09 at 17:37 +0000, Spencer Oliver wrote: > > I rebuilt my working application and library with -Os. It > > compiles and > > links without warning or error. > > > > I started openocd with -d 3 on the command line and through > > telnet used > > the following commands. > > > > Very, strange i cannot reproduce your problem. > Could you provide the config script and perhaps the two binaries and i will > see if i can find the cause.
Oooeee! I see the problem. I am a little embarrassed not to have looked harder earlier. It was only when you asked for both binaries that I saw the problem... Compiled with -O0, I see from ls -l; -rwxr-xr-x 1 james james 85440 2009-02-09 07:48 ct_in.bin -rwxr-xr-x 1 james james 221506 2009-02-09 07:48 ct_in.elf But compiled with -Os, I see... -rwxr-xr-x 1 james james 536878711 2009-02-10 08:04 ct_in.bin -rwxr-xr-x 1 james james 209230 2009-02-10 08:04 ct_in.elf What the ?!?!?!?! Somehow arm-none-eabi-objcopy obj/ct_in.elf -Obinary obj/ct_in.bin has produced a monster. I find this a bit strange, arm-none-eabi-size obj/ct_in.elf text data bss dec hex filename 42875 1260 10252 54387 d473 obj/ct_in.elf I think I'll go back to the codesourcery folks. Sorry for the noise. Regards, James. _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development