From: cuz Date: Thu, 24 Mar 2005 10:52:07 +0000 (+0000) Subject: Added the INIT segment X-Git-Tag: V2.12.0~426 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=137b66ac97b11d400dbffec3d249a5246a133f4b;p=cc65 Added the INIT segment git-svn-id: svn://svn.cc65.org/cc65/trunk@3413 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ld65/cfg/module.cfg b/src/ld65/cfg/module.cfg index a4d62db0b..e36bc5f96 100644 --- a/src/ld65/cfg/module.cfg +++ b/src/ld65/cfg/module.cfg @@ -1,15 +1,16 @@ MEMORY { - ZP: start = $0000, size = $0100, type = rw, define = yes; + ZP: start = $0000, size = $0100, type = rw, define = yes; COMBINED: start = $0000, size = $FFFF, file = %O; } SEGMENTS { JUMPTABLE: load = COMBINED, type = ro; - CODE: load = COMBINED, type = ro; - RODATA: load = COMBINED, type = ro; - DATA: load = COMBINED, type = rw, define = yes; - BSS: load = COMBINED, type = bss, define = yes; - ZEROPAGE: load = ZP, type = zp; - EXTZP: load = ZP, type = zp; + INIT: load = COMBINED, type = ro, optional = yes; + CODE: load = COMBINED, type = ro; + RODATA: load = COMBINED, type = ro; + DATA: load = COMBINED, type = rw, define = yes; + BSS: load = COMBINED, type = bss, define = yes; + ZEROPAGE: load = ZP, type = zp; + EXTZP: load = ZP, type = zp; } FILES { %O: format = o65;