]> git.sur5r.net Git - cc65/blob - src/ld65/cfg/geos.cfg
Add the new OPTIONAL attribute to the LOWCODE segment.
[cc65] / src / ld65 / cfg / geos.cfg
1 MEMORY {
2     ZP: start = $58, size = $28, type = rw, define = yes;
3     HEADER: start = $204, size = 508, file = %O;
4     RAM: start = $400, size = $5C00, define = yes, file = %O;
5 }
6 SEGMENTS {
7     HEADER: load = HEADER, type = ro;
8     STARTUP: load = RAM, type = wprot;
9     LOWCODE: load = RAM, type = wprot, optional = yes;
10     CODE: load = RAM, type = ro;
11     RODATA: load = RAM, type = ro;
12     DATA: load = RAM, type = rw;
13     BSS: load = RAM, type = bss, define = yes;
14     ZEROPAGE: load = ZP, type = zp;
15     EXTZP: load = ZP, type = zp;
16 }
17 FEATURES {
18     CONDES: segment = RODATA,
19             type = constructor,
20             label = __CONSTRUCTOR_TABLE__,
21             count = __CONSTRUCTOR_COUNT__;
22     CONDES: segment = RODATA,
23             type = destructor,
24             label = __DESTRUCTOR_TABLE__,
25             count = __DESTRUCTOR_COUNT__;
26 }
27 SYMBOLS {
28     __STACKSIZE__ = $400;       # 1K stack
29 }