]> git.sur5r.net Git - cc65/blobdiff - libsrc/nes/crt0.s
don't use constructor to setup runtime stack
[cc65] / libsrc / nes / crt0.s
index 3a22324976a88963593be200ea98727d43ba0b62..373c3b9a3d3888f4b56c7edcd3c96c435c47bf0a 100644 (file)
@@ -3,11 +3,10 @@
 ;
 ; by Groepaz/Hitmen <groepaz@gmx.net>
 ; based on code by Ullrich von Bassewitz <uz@cc65.org>
-;
-; This must be the *first* file on the linker command line
 ;
 
         .export         _exit
+        .export         __STARTUP__ : absolute = 1      ; Mark as startup
        .import         initlib, donelib, callmain
        .import         push0, _main, zerobss, copydata
         .import         ppubuf_flush