From: Johan K. <joh...@id...> - 2001-06-04 17:47:43
|
> To make things easier when writing library functions, I propose 2 further > defines created by the compiler: SDCC_INT_LONG_REENT and SDCC_FLOAT_REENT. Why? This would only work if the lib fu's keep static vars initialised with these defines and check them at runtime (with what?). I once again propose a signature in the .rel files that defines the way it is compiled (cpu, model, .._REENT etc)and for every function defines the type it returns and the parameters it expects. This way the linker could warn and bail out before worse things happen ... Johan |