From: Johan K. <joh...@id...> - 2002-12-27 13:29:42
|
> nice to hear, ahem, read something from you! And thank YOU for keeping it alive in the meantime! > > BTW, shouldn't this be the default for --model-small? > > xdata char initialized_string_in_xdata[] = \ > "This needs xinit even in small modell"; > > My 2 cents: > it would be nice, if _sdcc_init_data would be included by the linker from the > library. The compiler could emit a "magic symbol" along with the XINIT data. > Only if the linker sees this magic symbol, it inserts _sdcc_init_data. A --xinit-opt would be easier to implement. Than you can override the default (xinit for --model-large, no xinit for --model-small) but that has to be documented. |