"Ton van Overbeek" wrote: > Same question came up on pilot.programmer.gcc.
That was me. I was desparate... > As soon as you do some floating point operation the code pulls in the > simulated floating point condition code register (fpCCR). It is simulated > because the Palm's do not have real m68k floating point hardware. > The size of this fpCCR is 28 bytes. That is the datasegment size you get. > This is part of libgcc and you find the source in lb1sf68palmos.asm in the > gcc/gcc/config/m68k directory of the gcc source tree. > When you ignore the build-prc warning, the floating point operations will > happily overwrite your globals. Most likely the fpCCR will overlap the > first 28 bytes of your globals. > > So what needs to be done is to somehow get the fpCCR in the syslib > globals. Right now I cannot tell you how to do that. Suggestions welcome > ... > Thanks for the additional information. I don't know how to solve the problem, either, but this gets me a little closer. I could only find one other instance of this problem being reported in pilot.programmer.gcc, and none in this forum. I'm surprised a few more haven't run into the problem. Thanks - Dave -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
