removed obsolete and buggy ARRAYINIT
[fw/sdcc] / src / SDCCsymt.c
index 2b7824644c61c79ece879999ea9da461ca92333b..80ccfc5ad12bdb2bf82d3a5223113e415ea7890a 100644 (file)
@@ -1262,7 +1262,8 @@ checkSClass (symbol * sym, int isProto)
           * control this allcoation, but the code was originally that way, and
           * changing it for non-390 ports breaks the compiler badly.
           */
-         bool useXdata = TARGET_IS_DS390 ? 1 : options.useXstack;
+         bool useXdata = (TARGET_IS_DS390 || TARGET_IS_DS400) ? 
+               1 : options.useXstack;
          SPEC_SCLS (sym->etype) = (useXdata ?
                                    S_XDATA : S_FIXED);
        }