Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [coldfire-gnu-discuss] zero divide trap when running Debug Sprite Example "Fibo"


  • To: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
  • Subject: RE: [coldfire-gnu-discuss] zero divide trap when running Debug Sprite Example "Fibo"
  • From: Christof Frey <Christof.Frey@xxxxxxxxxx>
  • Date: Fri, 25 Jul 2008 00:07:46 -0700


>In particular, if you change:
>
>      PROVIDE(__cs3_reset_m5235evb = _start);
>      __cs3_reset = __cs3_reset_m5235evb;
>
>to use m52755 does that help?

The following changes in the linker script cure the problem:

EXTERN(__cs3_reset_m5275evb)

    PROVIDE(__cs3_reset_m5275evb = _start);
    __cs3_reset = __cs3_reset_m5275evb;

So it seems the problem is indeed in the startup code for m5235

Christof