* src/SDCCmain.c (parseCmdLine, optionsTable[]): fixed bug with
[fw/sdcc] / src / hc08 / main.c
index 5e8555c9e5c06153bba8240bf43ac80cdb1cee2c..13a23d684f1fe4fb88bb7dc223b126264b942de9 100644 (file)
@@ -139,7 +139,7 @@ _hc08_setDefaultOptions (void)
 {
   options.code_loc = 0x8000;
   options.data_loc = 0x80;
-  options.xdata_loc = 0x100;
+  options.xdata_loc = 0;       /* 0 means immediately following data */
   options.stack_loc = 0x7fff;
   options.out_fmt = 1;         /* use motorola S19 output */