Hi Jon,<br>  I had some similar problems some time ago, and I found out it was a misplacement of (re)locations directives into the linker script.<br>Would be so kind to check your linker script  and see if all needed code (and/or included by libraries) is assembled and relocated within 0x0040000 and <br>
0x00400000 + 96K? Which is the output of a size command  (with -A -x switches) on the produced elf executable?<br><br>Bye,<br>  UM<br><br><div class="gmail_quote">2009/10/6 Jon Smirl <span dir="ltr">&lt;<a href="mailto:jonsmirl@gmail.com">jonsmirl@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Tue, Oct 6, 2009 at 1:53 PM, Mariano Alvira &lt;<a href="mailto:mar@devl.org">mar@devl.org</a>&gt; wrote:<br>

&gt; On Tue, Oct 06, 2009 at 01:45:25PM -0400, Mariano Alvira wrote:<br>
&gt;&gt; On Tue, Oct 06, 2009 at 01:39:37PM -0400, Jon Smirl wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; The problem is rooted at unwind-arm.o which calls abort.o It looks<br>
&gt;&gt; &gt; like uldivmod can trigger an exception, the exception handling pulls<br>
&gt;&gt; &gt; in 500K of run-time.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; So I need to figure out how to rebuild my libc with exceptions<br>
&gt;&gt; &gt; handling turned off?<br>
&gt;&gt;<br>
&gt;&gt; Maybe we should look at how the oe toolchain is built<br>
&gt;&gt; w.r.t. exceptions first before trying to rebuild yours...<br>
&gt;&gt;<br>
&gt;&gt; -Mar.<br>
&gt;<br>
&gt; It looks like my cross is built with<br>
&gt; &quot;--disable-libunwind-exceptions&quot;. It sounds to me like this could be<br>
&gt; the problem.<br>
<br>
</div>That didn&#39;t fix it. -fno-exceptions didn&#39;t do it either. I&#39;ve asked<br>
the Phytec people how to fix it but they are gone for the day.<br>
<br>
I&#39;ll try building the OE toolchain. I like the Phytec one, it is so<br>
much simpler to build.<br>
<br>
<a href="http://www.pengutronix.de/oselas/toolchain/index_en.html" target="_blank">http://www.pengutronix.de/oselas/toolchain/index_en.html</a><br>
<div class="im"><br>
<br>
&gt;<br>
&gt; I&#39;ve attached the <a href="http://gcc-cross_4.3.2.bb" target="_blank">gcc-cross_4.3.2.bb</a> that I used for my toolchain.<br>
&gt;<br>
&gt; -Mar.<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div><div class="im">--<br>
Jon Smirl<br>
<a href="mailto:jonsmirl@gmail.com">jonsmirl@gmail.com</a><br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="h5">mc1322x mailing list<br>
<a href="mailto:mc1322x@devl.org">mc1322x@devl.org</a><br>
<a href="http://devl.org/cgi-bin/mailman/listinfo/mc1322x" target="_blank">http://devl.org/cgi-bin/mailman/listinfo/mc1322x</a><br>
</div></div></blockquote></div><br>