From: cuz Date: Thu, 22 May 2003 22:32:33 +0000 (+0000) Subject: Add the new OPTIONAL attribute to the LOWCODE segment. X-Git-Tag: V2.12.0~1553 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cfb622f738987c135b8cfe5244855c959658e7b2;p=cc65 Add the new OPTIONAL attribute to the LOWCODE segment. git-svn-id: svn://svn.cc65.org/cc65/trunk@2165 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ld65/cfg/apple2.cfg b/src/ld65/cfg/apple2.cfg index 1248af0cb..c0f552dbd 100644 --- a/src/ld65/cfg/apple2.cfg +++ b/src/ld65/cfg/apple2.cfg @@ -6,7 +6,7 @@ MEMORY { SEGMENTS { EXEHDR: load = HEADER, type = ro; STARTUP: load = RAM, type = ro, define = yes; - LOWCODE: load = RAM, type = ro; + LOWCODE: load = RAM, type = ro, optional = yes; CODE: load = RAM, type = ro; RODATA: load = RAM, type = ro; DATA: load = RAM, type = rw; diff --git a/src/ld65/cfg/atmos.cfg b/src/ld65/cfg/atmos.cfg index 358a8d496..4447f10aa 100644 --- a/src/ld65/cfg/atmos.cfg +++ b/src/ld65/cfg/atmos.cfg @@ -6,7 +6,7 @@ MEMORY { SEGMENTS { TAPEHDR: load = TAPEHDR, type = ro; STARTUP: load = RAM, type = wprot; - LOWCODE: load = RAM, type = wprot; + LOWCODE: load = RAM, type = wprot, optional = yes; CODE: load = RAM, type = wprot; RODATA: load = RAM, type = wprot; DATA: load = RAM, type = rw; diff --git a/src/ld65/cfg/c128.cfg b/src/ld65/cfg/c128.cfg index 6f849cee4..6a89c12a1 100644 --- a/src/ld65/cfg/c128.cfg +++ b/src/ld65/cfg/c128.cfg @@ -4,7 +4,7 @@ MEMORY { } SEGMENTS { STARTUP: load = RAM, type = wprot; - LOWCODE: load = RAM, type = wprot; + LOWCODE: load = RAM, type = wprot, optional = yes; CODE: load = RAM, type = wprot; RODATA: load = RAM, type = wprot; DATA: load = RAM, type = rw; @@ -20,7 +20,7 @@ FEATURES { type = destructor, label = __DESTRUCTOR_TABLE__, count = __DESTRUCTOR_COUNT__; - # condes functions with type 2 are called in the interrupt + # condes functions with type 2 are called in the interrupt CONDES: segment = RODATA, type = 2, label = __IRQFUNC_TABLE__, diff --git a/src/ld65/cfg/c16.cfg b/src/ld65/cfg/c16.cfg index 5ff0a408a..857e41c73 100644 --- a/src/ld65/cfg/c16.cfg +++ b/src/ld65/cfg/c16.cfg @@ -4,7 +4,7 @@ MEMORY { } SEGMENTS { STARTUP: load = RAM, type = wprot; - LOWCODE: load = RAM, type = wprot; + LOWCODE: load = RAM, type = wprot, optional = yes; CODE: load = RAM, type = wprot; RODATA: load = RAM, type = wprot; DATA: load = RAM, type = rw; diff --git a/src/ld65/cfg/c64.cfg b/src/ld65/cfg/c64.cfg index d2a349568..6c5ff8da8 100644 --- a/src/ld65/cfg/c64.cfg +++ b/src/ld65/cfg/c64.cfg @@ -4,7 +4,7 @@ MEMORY { } SEGMENTS { STARTUP: load = RAM, type = wprot; - LOWCODE: load = RAM, type = wprot; + LOWCODE: load = RAM, type = wprot, optional = yes; CODE: load = RAM, type = wprot; RODATA: load = RAM, type = wprot; DATA: load = RAM, type = rw; diff --git a/src/ld65/cfg/geos.cfg b/src/ld65/cfg/geos.cfg index 4eb0ef038..473ba2634 100644 --- a/src/ld65/cfg/geos.cfg +++ b/src/ld65/cfg/geos.cfg @@ -6,7 +6,7 @@ MEMORY { SEGMENTS { HEADER: load = HEADER, type = ro; STARTUP: load = RAM, type = wprot; - LOWCODE: load = RAM, type = wprot; + LOWCODE: load = RAM, type = wprot, optional = yes; CODE: load = RAM, type = ro; RODATA: load = RAM, type = ro; DATA: load = RAM, type = rw; diff --git a/src/ld65/cfg/lunix.cfg b/src/ld65/cfg/lunix.cfg index c98772ec0..b2f1e823f 100644 --- a/src/ld65/cfg/lunix.cfg +++ b/src/ld65/cfg/lunix.cfg @@ -6,10 +6,10 @@ MEMORY { SEGMENTS { ZEROPAGE: load = ZP, type = zp, define = yes; # Pseudo-registers STARTUP: load = RAM, type = ro; # First initiation code - LOWCODE: load = RAM, type = ro; # Legacy from other platforms + LOWCODE: load = RAM, type = ro, optional = yes; # Legacy from other platforms CODE: load = RAM, type = ro; # Program RODATA: load = RAM, type = ro; # Literals, constants - DATA: load = RAM, type = rw; # Initialized variables + DATA: load = RAM, type = rw; # Initialized variables BSS: load = RAM, type = bss, define = yes; # Uninitialized variables } FEATURES { diff --git a/src/ld65/cfg/pet.cfg b/src/ld65/cfg/pet.cfg index 1f7765081..06481d6dd 100644 --- a/src/ld65/cfg/pet.cfg +++ b/src/ld65/cfg/pet.cfg @@ -4,7 +4,7 @@ MEMORY { } SEGMENTS { STARTUP: load = RAM, type = wprot; - LOWCODE: load = RAM, type = wprot; + LOWCODE: load = RAM, type = wprot, optional = yes; CODE: load = RAM, type = wprot; RODATA: load = RAM, type = wprot; DATA: load = RAM, type = rw; diff --git a/src/ld65/cfg/plus4.cfg b/src/ld65/cfg/plus4.cfg index b2b734fb8..3a3ab6504 100644 --- a/src/ld65/cfg/plus4.cfg +++ b/src/ld65/cfg/plus4.cfg @@ -4,7 +4,7 @@ MEMORY { } SEGMENTS { STARTUP: load = RAM, type = wprot; - LOWCODE: load = RAM, type = wprot; + LOWCODE: load = RAM, type = wprot, optional = yes; CODE: load = RAM, type = wprot; RODATA: load = RAM, type = wprot; DATA: load = RAM, type = rw; diff --git a/src/ld65/cfg/vic20.cfg b/src/ld65/cfg/vic20.cfg index 7003d932d..4dcae7e67 100644 --- a/src/ld65/cfg/vic20.cfg +++ b/src/ld65/cfg/vic20.cfg @@ -4,7 +4,7 @@ MEMORY { } SEGMENTS { STARTUP: load = RAM , type = wprot; - LOWCODE: load = RAM, type = wprot; + LOWCODE: load = RAM, type = wprot, optional = yes; CODE: load = RAM, type = wprot; RODATA: load = RAM, type = wprot; DATA: load = RAM, type = rw;