From 4270b8a96c9cdad5c20cc9760070c23e5e07d9a1 Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Tue, 15 Mar 2016 21:48:44 +0100 Subject: [PATCH] Fixed segment properties. The CBMx10 targets don't use the INIT segment in the startup code. So it may turn out to be not necessary at all for certain programs. The CBMx10 targets don't need symbols for the ONCE segment. Likely their definition was a C&P error in the first place. --- cfg/cbm510.cfg | 4 ++-- cfg/cbm610.cfg | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cfg/cbm510.cfg b/cfg/cbm510.cfg index 5f73174f3..b4e228fdd 100644 --- a/cfg/cbm510.cfg +++ b/cfg/cbm510.cfg @@ -20,11 +20,11 @@ SEGMENTS { PAGE2: load = PAGE2, type = rw; PAGE3: load = PAGE3, type = rw; 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; - INIT: load = MAIN, type = bss; + INIT: load = MAIN, type = bss, optional = yes; BSS: load = MAIN, type = bss, define = yes; } FEATURES { diff --git a/cfg/cbm610.cfg b/cfg/cbm610.cfg index fb4349dba..431734cd2 100644 --- a/cfg/cbm610.cfg +++ b/cfg/cbm610.cfg @@ -17,11 +17,11 @@ SEGMENTS { PAGE2: load = PAGE2, type = rw; PAGE3: load = PAGE3, type = rw; 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; - INIT: load = MAIN, type = bss; + INIT: load = MAIN, type = bss, optional = yes; BSS: load = MAIN, type = bss, define = yes; } FEATURES { -- 2.39.5