From: bauen1 Date: Thu, 4 Jan 2018 21:14:01 +0000 (+0100) Subject: Fixed none/crt0.s to respect none.cfg X-Git-Tag: V2.17~50^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=45482b4fb1fdf69d149cbdd5aa7aafdbc816020d;p=cc65 Fixed none/crt0.s to respect none.cfg --- diff --git a/libsrc/none/crt0.s b/libsrc/none/crt0.s index 7858ad839..a90f60d26 100644 --- a/libsrc/none/crt0.s +++ b/libsrc/none/crt0.s @@ -2,15 +2,14 @@ .export __STARTUP__ : absolute = 1 ; Mark as startup .import zerobss, _main .import initlib, donelib - .import __MAIN_START__, __MAIN_SIZE__ ; Linker generated - .import __STACKSIZE__ ; Linker generated + .import __STACKSTART__, __STACKSIZE__ ; Linker generated .include "zeropage.inc" .segment "STARTUP" - lda #<(__MAIN_START__ + __MAIN_SIZE__ + __STACKSIZE__) - ldx #<(__MAIN_START__ + __MAIN_SIZE__ + __STACKSIZE__) + lda #<__STACKSTART__ + lda #>__STACKSTART__ sta sp stx sp+1 jsr zerobss