[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GRMON load question
- Date: Mon, 14 Mar 2011 21:21:52 +0100
- From: jiri at gaisler.se (Jiri Gaisler)
- Subject: GRMON load question
Matthews, Lee wrote:
> Hi All
> I?m developing for an Aeroflex Gaisler LEON3 processor that is running on a Pender
> GR-CPCI-AX2000 development board using RTEMS.
> I use the following statement to compile my source code : sparc-rtems-gcc -O2 -g sourcecode.c -o
> This produces a file that is around 2,3MB is size. Yet, when I try uploading the file using GRMON
> (using the 'load' command), it only uploads about 157KB. Why the difference in size? Is the
> remaining 2,1MB superfluous somehow?
File size and image size is not the same thing. Use sparc-rtems-size to see the
actual size of your application. The rest is symbol tables and debug information
which are not loaded on the target. Google for elf.pdf if you want to understand
how an elf file is laid out.
> Thanks in advance,
> Lee Matthews
> _______________________________________________ rtems-users mailing list rtems-users at rtems.org