stack must be after data when option -Y is not used (default behaviour)
[fw/sdcc] / as / mcs51 / asout.c
index 54d4bb314e250c7e70047f5c95221b442ec8c800..363a2c1214c0b65b65c1eb54da8dcc45e859fab0 100644 (file)
@@ -16,9 +16,6 @@
 #include <stdio.h>
 #include <setjmp.h>
 #include <string.h>
-//#if !defined(_MSC_VER)
-//#include <alloc.h>
-//#endif
 #include "asm.h"
 
 
@@ -928,6 +925,11 @@ outgsd()
                putc('\n', ofp);
        }
 
+    /*
+     * Sdcc compile options
+     */
+       if (strlen(optsdcc)) fprintf(ofp, "O %s\n", optsdcc);
+
        /*
         * Global references and absolutes.
         */