Executable size

Leon Pollak leonp at plris.com
Wed Dec 23 15:38:56 UTC 2009


On Wednesday December 23 2009, Thomas Doerfler wrote:
> Leon,
> 
> AFAIK the debug inforamtion added to the ELF file goes much more into
> details now. So maybe this can be a reason. Are the 4.5Meg the ELF file
> size or the code size? If it is the debug info, you may want to strip it
> with *objcopy.
This is what I meant - after objcpy I received 4.5MiB.
I look also in the map file and see there these 4MiB size of text section 
only!

Thanks.
> 
> Merry Christmas,
> 
> Thomas.
> 
> Leon Pollak schrieb:
> > Hello, all.
> >
> > I am trying to upgrade from 4.8.0 to 4.9.3.
> > After some small battles, I succeeded to have the working application -
> > seems to work as before upgrade.
> >
> > The only problem is that the debug executable under debug RTEMS was
> > 1,040KiB while under 4.9.3 it is now... be brave :-) ... 4,520KiB. !!!
> >
> > Studying the map file I did not see some rough major problem - the
> > application part is almost identical, but the system (compiler & rtems)
> > part is so different that I am not bale to follow the differences...:-(
> >
> > Any hint will be highly appreciated.
> 


-- 
            Dr.Leon M.Pollak
                Director
       PLR Information Systems Ltd.
Tel.:+972-98657670  |  POB 8130, H'Aomanut 9,
Fax.:+972-98657621  |  Poleg Industrial Zone,
Mob.:+972-544739246 |  Netanya, 42160, Israel.



More information about the users mailing list