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"><<a href="mailto:jonsmirl@gmail.com">jonsmirl@gmail.com</a>></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 <<a href="mailto:mar@devl.org">mar@devl.org</a>> wrote:<br>
> On Tue, Oct 06, 2009 at 01:45:25PM -0400, Mariano Alvira wrote:<br>
>> On Tue, Oct 06, 2009 at 01:39:37PM -0400, Jon Smirl wrote:<br>
>> ><br>
>> > The problem is rooted at unwind-arm.o which calls abort.o It looks<br>
>> > like uldivmod can trigger an exception, the exception handling pulls<br>
>> > in 500K of run-time.<br>
>> ><br>
>> > So I need to figure out how to rebuild my libc with exceptions<br>
>> > handling turned off?<br>
>><br>
>> Maybe we should look at how the oe toolchain is built<br>
>> w.r.t. exceptions first before trying to rebuild yours...<br>
>><br>
>> -Mar.<br>
><br>
> It looks like my cross is built with<br>
> "--disable-libunwind-exceptions". It sounds to me like this could be<br>
> the problem.<br>
<br>
</div>That didn't fix it. -fno-exceptions didn't do it either. I've asked<br>
the Phytec people how to fix it but they are gone for the day.<br>
<br>
I'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>
><br>
> I'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>
><br>
> -Mar.<br>
><br>
><br>
><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>