Here is a better, more general answer. <br><br>Find the binary image that you load to the target board, and use sparc-rtems4.11-nm on it to get the symbols, for example:<br>$> sparc-rtems4.11-nm --size-sort -r hello.exe > hello.snm<br>
<br>then look at the output from nm to see what is taking up a lot of your binary image space. The symbol names are given, and their type also, for example T is for text=code. You can read more about nm in the gnu binutils documentation.<br>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 4, 2012 at 9:29 AM, Luca Cinquepalmi <span dir="ltr"><<a href="mailto:cinquepalmi@planetek.it" target="_blank">cinquepalmi@planetek.it</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>I don't understand your answer very
well... Can you give me more details?<br>
Thanks a lot!<span class="HOEnZb"><font color="#888888"><br>
Luca</font></span><div><div class="h5"><br>
<br>
On 12/04/2012 03:26 PM, Gedare Bloom wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">Check if printf is getting included in the new image
and not in the old one. If for some reason those files pull in
printf that can be a lot of extra code.<br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Tue, Dec 4, 2012 at 3:48 AM, Luca
Cinquepalmi <span dir="ltr"><<a href="mailto:cinquepalmi@planetek.it" target="_blank">cinquepalmi@planetek.it</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Hi all, <br>
I'm trying to compile rtems C++ source code with rtems
provided class.<br>
I compile the following class without any problems:<br>
<br>
rtemsTask.cc<br>
rtemsSeamphore.cc<br>
rtemsMessageQueue.cc<br>
rtemsEvent.cc<br>
rtemsStatusCode.cc<br>
<br>
and the program perfectly works, but when I compile<br>
<br>
<b>rtemsInterrupt.cc</b> or <b>rtemsTimer.cc</b><br>
<br>
the code is well compiled, but it doubles its dimension
and <br>
doesn't work when loaded on my target board (LEON2).<br>
I'm using spar-rtems4.11-gcc as compiler.<br>
Did anyone have the same problem? Thanks!<span><font color="#888888"><br>
<br>
Luca<br>
</font></span></div>
<br>
_______________________________________________<br>
rtems-users mailing list<br>
<a href="mailto:rtems-users@rtems.org" target="_blank">rtems-users@rtems.org</a><br>
<a href="http://www.rtems.org/mailman/listinfo/rtems-users" target="_blank">http://www.rtems.org/mailman/listinfo/rtems-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div>