size of mcf5329 executable

Ralf Corsepius ralf.corsepius at rtems.org
Thu Jan 15 17:52:24 UTC 2009


Joel Sherrill wrote:
> Hi,
> 
> Can anyone explain this file size?
> 
> $ ls -l m68k-mcf5329-ticker.ralf
> -rwxr-xr-x 1 joel users 1073740960 2009-01-09 19:18 m68k-mcf5329-ticker.ralf
> 
> It is over 1 GB if I am doing my math right.

Another observation:

For me, all mcf5329's samples' *.ralf's carry the same size.

> I suspect something weird is happening
> as a side-effect of this conversion to
> binary but sure don't know what.
> 
> define bsp-post-link
>     $(OBJCOPY) -O binary --strip-all \
>         $(basename $@).exe $(basename $@)$(DOWNEXT)
>     $(SIZE) $(basename $@).exe
> endef
> 
> Does anyone has a suggestion?
> 
Wild guess: a broken linkcmds or broken linker section assignment.

Also worth being checked:
m68k-rtems4.10-nm -g -n ticker.exe > ticker.num

Ralf



More information about the users mailing list