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

Christof Frey Christof.Frey at varian.com
Fri Jul 25 07:07:46 UTC 2008



>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





More information about the coldfire-gnu-discuss mailing list