added _JavaNative to debug info printing
[fw/sdcc] / src / SDCCglue.c
index 1e66c123fd479d78954dff94ff4e555f446e4fb1..7f8f3d70a4d0ad1581b794b374db04df8af23c30 100644 (file)
@@ -263,15 +263,18 @@ emitRegularMap (memmap * map, bool addPublics, bool arFlag)
          if (ival) {
            // set ival's lineno to where the symbol was defined
            lineno=ival->lineno=sym->lineDef;
-           
+#if 0      
            // check if this is a constant expression
            if (constExprTree(ival->right)) {
              allocInfo = 0;
+#endif
              eBBlockFromiCode (iCodeFromAst (ival));
              allocInfo = 1;
+#if 0
            } else {
              werror (E_CONST_EXPECTED, "found expression");
            }
+#endif
          }
        }         
 
@@ -1630,6 +1633,9 @@ glue ()
     }
   copyFile (asmFile, code->oFile);
 
+  if (port->genAssemblerEnd) {
+      port->genAssemblerEnd(asmFile);
+  }
   fclose (asmFile);
   applyToSet (tmpfileSet, closeTmpFiles);
   applyToSet (tmpfileNameSet, rmTmpFiles);