From 137b66ac97b11d400dbffec3d249a5246a133f4b Mon Sep 17 00:00:00 2001 From: cuz Date: Thu, 24 Mar 2005 10:52:07 +0000 Subject: [PATCH] Added the INIT segment git-svn-id: svn://svn.cc65.org/cc65/trunk@3413 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ld65/cfg/module.cfg | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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;