mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
Removed ONCE segment.
Pure assembler programs don't have constructors. Therefore constructor code ending up in an assembler program should trigger an error.
This commit is contained in:
parent
c768de156a
commit
46d4307bbb
@ -17,7 +17,6 @@ MEMORY {
|
|||||||
SEGMENTS {
|
SEGMENTS {
|
||||||
ZEROPAGE: load = ZP, type = zp;
|
ZEROPAGE: load = ZP, type = zp;
|
||||||
BOOT: load = HEAD, type = ro, optional = yes;
|
BOOT: load = HEAD, type = ro, optional = yes;
|
||||||
ONCE: load = MAIN, type = ro, define = yes, optional = yes;
|
|
||||||
CODE: load = MAIN, type = rw;
|
CODE: load = MAIN, type = rw;
|
||||||
RODATA: load = MAIN, type = rw;
|
RODATA: load = MAIN, type = rw;
|
||||||
DATA: load = MAIN, type = rw;
|
DATA: load = MAIN, type = rw;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user