From: Oliver Schmidt Date: Tue, 15 Mar 2016 20:25:22 +0000 (+0100) Subject: Removed symbol definition for ONCE. X-Git-Tag: V2.16~164 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0edd05b4bf425e3327e7aec7435a18e593707800;p=cc65 Removed symbol definition for ONCE. Almost all targets don't need symbols for the ONCE segment. Likely their definition was a C&P error in the first place. --- diff --git a/cfg/bbc.cfg b/cfg/bbc.cfg index c451951ad..f1aa4a877 100644 --- a/cfg/bbc.cfg +++ b/cfg/bbc.cfg @@ -9,7 +9,7 @@ SEGMENTS { ZEROPAGE: load = ZP, type = zp; STARTUP: load = MAIN, type = ro, define = yes; LOWCODE: load = MAIN, type = ro, optional = yes; - ONCE: load = MAIN, type = ro, define = yes, optional = yes; + ONCE: load = MAIN, type = ro, optional = yes; CODE: load = MAIN, type = ro; RODATA: load = MAIN, type = ro; DATA: load = MAIN, type = rw; diff --git a/cfg/c128-overlay.cfg b/cfg/c128-overlay.cfg index 8f60fa347..e2cff8b7c 100644 --- a/cfg/c128-overlay.cfg +++ b/cfg/c128-overlay.cfg @@ -35,7 +35,7 @@ SEGMENTS { EXEHDR: load = HEADER, type = ro; STARTUP: load = MAIN, type = ro; LOWCODE: load = MAIN, type = ro, optional = yes; - ONCE: load = MAIN, type = ro, define = yes, optional = yes; + ONCE: load = MAIN, type = ro, optional = yes; CODE: load = MAIN, type = ro; RODATA: load = MAIN, type = ro; DATA: load = MAIN, type = rw; diff --git a/cfg/c128.cfg b/cfg/c128.cfg index 6a98dc5cf..7546e7921 100644 --- a/cfg/c128.cfg +++ b/cfg/c128.cfg @@ -15,7 +15,7 @@ SEGMENTS { EXEHDR: load = HEADER, type = ro; STARTUP: load = MAIN, type = ro; LOWCODE: load = MAIN, type = ro, optional = yes; - ONCE: load = MAIN, type = ro, define = yes, optional = yes; + ONCE: load = MAIN, type = ro, optional = yes; CODE: load = MAIN, type = ro; RODATA: load = MAIN, type = ro; DATA: load = MAIN, type = rw; diff --git a/cfg/c16.cfg b/cfg/c16.cfg index f1ab747cd..1aae78824 100644 --- a/cfg/c16.cfg +++ b/cfg/c16.cfg @@ -15,7 +15,7 @@ SEGMENTS { EXEHDR: load = HEADER, type = ro; STARTUP: load = MAIN, type = ro; LOWCODE: load = MAIN, type = ro, optional = yes; - ONCE: load = MAIN, type = ro, define = yes, optional = yes; + ONCE: load = MAIN, type = ro, optional = yes; CODE: load = MAIN, type = ro; RODATA: load = MAIN, type = ro; DATA: load = MAIN, type = rw; diff --git a/cfg/gamate.cfg b/cfg/gamate.cfg index 4e4253194..74ae9f3e3 100644 --- a/cfg/gamate.cfg +++ b/cfg/gamate.cfg @@ -27,7 +27,7 @@ SEGMENTS { EXTZP: load = ZP, type = zp, define = yes, optional = yes; APPZP: load = ZP, type = zp, define = yes, optional = yes; STARTUP: load = CARTHEADER, type = ro, define = yes; - ONCE: load = ROM, type = ro, define = yes, optional = yes; + ONCE: load = ROM, type = ro, optional = yes; CODE: load = ROM, type = ro, define = yes; RODATA: load = ROM, type = ro, define = yes; DATA: load = ROM, run = RAM, type = rw, define = yes; diff --git a/cfg/geos-apple.cfg b/cfg/geos-apple.cfg index ee8b61aec..9fc7024e1 100644 --- a/cfg/geos-apple.cfg +++ b/cfg/geos-apple.cfg @@ -40,7 +40,7 @@ SEGMENTS { VLIRIDX0: type = ro, load = CVT, align = $200, optional = yes; STARTUP: type = ro, run = VLIR0, load = CVT, align_load = $200, define = yes; LOWCODE: type = ro, run = VLIR0, load = CVT, optional = yes; - ONCE: type = ro, run = VLIR0, load = CVT, define = yes, optional = yes; + ONCE: type = ro, run = VLIR0, load = CVT, optional = yes; CODE: type = ro, run = VLIR0, load = CVT; RODATA: type = ro, run = VLIR0, load = CVT; DATA: type = rw, run = VLIR0, load = CVT; diff --git a/cfg/geos-cbm.cfg b/cfg/geos-cbm.cfg index 42cbe9a48..f9bea76a0 100644 --- a/cfg/geos-cbm.cfg +++ b/cfg/geos-cbm.cfg @@ -37,7 +37,7 @@ SEGMENTS { RECORDS: type = ro, load = CVT, align = $FE, optional = yes; STARTUP: type = ro, run = VLIR0, load = CVT, align_load = $FE, define = yes; LOWCODE: type = ro, run = VLIR0, load = CVT, optional = yes; - ONCE: type = ro, run = VLIR0, load = CVT, define = yes, optional = yes; + ONCE: type = ro, run = VLIR0, load = CVT, optional = yes; CODE: type = ro, run = VLIR0, load = CVT; RODATA: type = ro, run = VLIR0, load = CVT; DATA: type = rw, run = VLIR0, load = CVT; diff --git a/cfg/lunix.cfg b/cfg/lunix.cfg index 3a11cc5d4..0b7b9c8ff 100644 --- a/cfg/lunix.cfg +++ b/cfg/lunix.cfg @@ -12,7 +12,7 @@ SEGMENTS { ZEROPAGE: load = ZP, type = zp, define = yes; # Pseudo-registers STARTUP: load = MAIN, type = ro; # First initialization code LOWCODE: load = MAIN, type = ro, optional = yes; # Legacy from other platforms - ONCE: load = MAIN, type = ro, define = yes, optional = yes; # Library initialization code + ONCE: load = MAIN, type = ro, optional = yes; # Library initialization code CODE: load = MAIN, type = ro; # Program RODATA: load = MAIN, type = ro; # Literals, constants DATA: load = MAIN, type = rw; # Initialized variables diff --git a/cfg/nes.cfg b/cfg/nes.cfg index f68330425..0cc2ce334 100644 --- a/cfg/nes.cfg +++ b/cfg/nes.cfg @@ -37,7 +37,7 @@ SEGMENTS { HEADER: load = HEADER, type = ro; STARTUP: load = ROM0, type = ro, define = yes; LOWCODE: load = ROM0, type = ro, optional = yes; - ONCE: load = ROM0, type = ro, define = yes, optional = yes; + ONCE: load = ROM0, type = ro, optional = yes; CODE: load = ROM0, type = ro, define = yes; RODATA: load = ROM0, type = ro, define = yes; DATA: load = ROM0, run = RAM, type = rw, define = yes; diff --git a/cfg/none.cfg b/cfg/none.cfg index dcee60419..8cd9c4f95 100644 --- a/cfg/none.cfg +++ b/cfg/none.cfg @@ -8,7 +8,7 @@ MEMORY { SEGMENTS { ZEROPAGE: load = ZP, type = zp; LOWCODE: load = MAIN, type = ro, optional = yes; - ONCE: load = MAIN, type = ro, define = yes, optional = yes; + ONCE: load = MAIN, type = ro, optional = yes; CODE: load = MAIN, type = rw; RODATA: load = MAIN, type = rw; DATA: load = MAIN, type = rw; diff --git a/cfg/osic1p.cfg b/cfg/osic1p.cfg index 3507ebeba..f7ca08344 100644 --- a/cfg/osic1p.cfg +++ b/cfg/osic1p.cfg @@ -20,7 +20,7 @@ SEGMENTS { BOOT: load = HEAD, type = ro, optional = yes; STARTUP: load = MAIN, type = ro; LOWCODE: load = MAIN, type = ro, optional = yes; - ONCE: load = MAIN, type = ro, define = yes, optional = yes; + ONCE: load = MAIN, type = ro, optional = yes; CODE: load = MAIN, type = rw; RODATA: load = MAIN, type = rw; DATA: load = MAIN, type = rw; diff --git a/cfg/pce.cfg b/cfg/pce.cfg index 219cbdec3..6332f8eff 100644 --- a/cfg/pce.cfg +++ b/cfg/pce.cfg @@ -21,7 +21,7 @@ SEGMENTS { EXTZP: load = ZP, type = zp, define = yes, optional = yes; APPZP: load = ZP, type = zp, define = yes, optional = yes; STARTUP: load = ROM0, type = ro, define = yes; - ONCE: load = ROM0, type = ro, define = yes, optional = yes; + ONCE: load = ROM0, type = ro, optional = yes; CODE: load = ROM0, type = ro, define = yes; RODATA: load = ROM0, type = ro, define = yes; DATA: load = ROM0, run = RAM, type = rw, define = yes; diff --git a/cfg/pet.cfg b/cfg/pet.cfg index aad3f579e..efde48efe 100644 --- a/cfg/pet.cfg +++ b/cfg/pet.cfg @@ -15,7 +15,7 @@ SEGMENTS { EXEHDR: load = HEADER, type = ro; STARTUP: load = RAM, type = ro; LOWCODE: load = RAM, type = ro, optional = yes; - ONCE: load = RAM, type = ro, define = yes, optional = yes; + ONCE: load = RAM, type = ro, optional = yes; CODE: load = RAM, type = ro; RODATA: load = RAM, type = ro; DATA: load = RAM, type = rw; diff --git a/cfg/plus4.cfg b/cfg/plus4.cfg index 4f73e40c2..610a7c23c 100644 --- a/cfg/plus4.cfg +++ b/cfg/plus4.cfg @@ -15,7 +15,7 @@ SEGMENTS { EXEHDR: load = HEADER, type = ro; STARTUP: load = MAIN, type = ro; LOWCODE: load = MAIN, type = ro, optional = yes; - ONCE: load = MAIN, type = ro, define = yes, optional = yes; + ONCE: load = MAIN, type = ro, optional = yes; CODE: load = MAIN, type = ro; RODATA: load = MAIN, type = ro; DATA: load = MAIN, type = rw; diff --git a/cfg/sim6502.cfg b/cfg/sim6502.cfg index b50703bab..5e7402262 100644 --- a/cfg/sim6502.cfg +++ b/cfg/sim6502.cfg @@ -12,7 +12,7 @@ SEGMENTS { EXEHDR: load = HEADER, type = ro; STARTUP: load = MAIN, type = ro; LOWCODE: load = MAIN, type = ro, optional = yes; - ONCE: load = MAIN, type = ro, define = yes, optional = yes; + ONCE: load = MAIN, type = ro, optional = yes; CODE: load = MAIN, type = ro; RODATA: load = MAIN, type = ro; DATA: load = MAIN, type = rw; diff --git a/cfg/sim65c02.cfg b/cfg/sim65c02.cfg index b50703bab..5e7402262 100644 --- a/cfg/sim65c02.cfg +++ b/cfg/sim65c02.cfg @@ -12,7 +12,7 @@ SEGMENTS { EXEHDR: load = HEADER, type = ro; STARTUP: load = MAIN, type = ro; LOWCODE: load = MAIN, type = ro, optional = yes; - ONCE: load = MAIN, type = ro, define = yes, optional = yes; + ONCE: load = MAIN, type = ro, optional = yes; CODE: load = MAIN, type = ro; RODATA: load = MAIN, type = ro; DATA: load = MAIN, type = rw; diff --git a/cfg/supervision-128k.cfg b/cfg/supervision-128k.cfg index 3cfdf1276..6cfde6551 100644 --- a/cfg/supervision-128k.cfg +++ b/cfg/supervision-128k.cfg @@ -21,7 +21,7 @@ MEMORY { } SEGMENTS { LOWCODE: load = ROM, type = ro, optional = yes; - ONCE: load = ROM, type = ro, define = yes, optional = yes; + ONCE: load = ROM, type = ro, optional = yes; CODE: load = ROM, type = ro; BANK1: load = BANKROM1, type = ro; BANK2: load = BANKROM2, type = ro; diff --git a/cfg/supervision-16k.cfg b/cfg/supervision-16k.cfg index 2e96b9a72..e42677304 100644 --- a/cfg/supervision-16k.cfg +++ b/cfg/supervision-16k.cfg @@ -16,7 +16,7 @@ MEMORY { SEGMENTS { ZEROPAGE: load = ZP, type = zp, define = yes; LOWCODE: load = ROM, type = ro, optional = yes; - ONCE: load = ROM, type = ro, define = yes, optional = yes; + ONCE: load = ROM, type = ro, optional = yes; CODE: load = ROM, type = ro, define = yes; RODATA: load = ROM, type = ro, define = yes; DATA: load = ROM, run = RAM, type = rw, define = yes; diff --git a/cfg/supervision-64k.cfg b/cfg/supervision-64k.cfg index 63338d1e3..18c7b4a45 100644 --- a/cfg/supervision-64k.cfg +++ b/cfg/supervision-64k.cfg @@ -17,7 +17,7 @@ MEMORY { } SEGMENTS { LOWCODE: load = ROM, type = ro, optional = yes; - ONCE: load = ROM, type = ro, define = yes, optional = yes; + ONCE: load = ROM, type = ro, optional = yes; CODE: load = ROM, type = ro; RODATA: load = ROM, type = ro; BANK1: load = BANKROM1, type = ro; diff --git a/cfg/supervision.cfg b/cfg/supervision.cfg index b7ae207b8..da701b511 100644 --- a/cfg/supervision.cfg +++ b/cfg/supervision.cfg @@ -12,7 +12,7 @@ MEMORY { SEGMENTS { ZEROPAGE: load = ZP, type = zp, define = yes; LOWCODE: load = ROM, type = ro, optional = yes; - ONCE: load = ROM, type = ro, define = yes, optional = yes; + ONCE: load = ROM, type = ro, optional = yes; CODE: load = ROM, type = ro, define = yes; RODATA: load = ROM, type = ro, define = yes; DATA: load = ROM, run = RAM, type = rw, define = yes; diff --git a/cfg/vic20-32k.cfg b/cfg/vic20-32k.cfg index 4f4225825..f592d7bd0 100644 --- a/cfg/vic20-32k.cfg +++ b/cfg/vic20-32k.cfg @@ -17,7 +17,7 @@ SEGMENTS { EXEHDR: load = HEADER, type = ro; STARTUP: load = MAIN, type = ro; LOWCODE: load = MAIN, type = ro, optional = yes; - ONCE: load = MAIN, type = ro, define = yes, optional = yes; + ONCE: load = MAIN, type = ro, optional = yes; CODE: load = MAIN, type = ro; RODATA: load = MAIN, type = ro; DATA: load = MAIN, type = rw; diff --git a/cfg/vic20.cfg b/cfg/vic20.cfg index 4eba7bfa9..98f6f82b3 100644 --- a/cfg/vic20.cfg +++ b/cfg/vic20.cfg @@ -15,7 +15,7 @@ SEGMENTS { EXEHDR: load = HEADER, type = ro; STARTUP: load = MAIN, type = ro; LOWCODE: load = MAIN, type = ro, optional = yes; - ONCE: load = MAIN, type = ro, define = yes, optional = yes; + ONCE: load = MAIN, type = ro, optional = yes; CODE: load = MAIN, type = ro; RODATA: load = MAIN, type = ro; DATA: load = MAIN, type = rw;