I guess it isn't there because this only holds true for mcs51 and not necessarily for the other targets. And besides, these functions are helper functions for SDCC to perform floating point arithmetic. They were not created to be used directly.
> Hi Maarten > > > > IIRC the __fs floating point support routines are all > > reentrant these days. How did you declare the function? > Thanks for the answer. I found the solution but I have to admit that I am too > silly to know if it is my fault or sdcc's. > > The solution is either to change the definition of __fsadd in float.h from > float __fsadd (float, float) > to > float __fsadd (float, float) __reentrant; > > Why isn't __reentrant there in the first place ? > > I tried first by compiling with the --float-reent option but without success. > > Cheers > Gudjon > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Sdcc-user mailing list > Sdcc-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sdcc-user > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user