From: Oliver Schmidt
Date: Tue, 15 Mar 2016 20:19:25 +0000 (+0100)
Subject: Removed ONCE segment.
X-Git-Tag: V2.16~165
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=46d4307bbb5e7f536e9ddf5c11f8ff700524ca7e;p=cc65
Removed ONCE segment.
Pure assembler programs don't have constructors. Therefore constructor code ending up in an assembler program should trigger an error.
---
diff --git a/cfg/osic1p-asm.cfg b/cfg/osic1p-asm.cfg
index 3c1b1bda3..88ab69062 100644
--- a/cfg/osic1p-asm.cfg
+++ b/cfg/osic1p-asm.cfg
@@ -17,7 +17,6 @@ MEMORY {
SEGMENTS {
ZEROPAGE: load = ZP, type = zp;
BOOT: load = HEAD, type = ro, optional = yes;
- ONCE: load = MAIN, type = ro, define = yes, optional = yes;
CODE: load = MAIN, type = rw;
RODATA: load = MAIN, type = rw;
DATA: load = MAIN, type = rw;