]> git.sur5r.net Git - cc65/blob - src/ld65/cfg/lunix.cfg
Added/completed/debugged o65 support for Lunix
[cc65] / src / ld65 / cfg / lunix.cfg
1 MEMORY {
2     COMBINED: start = $0000, size = $FFFF, file = %O;
3 }
4 SEGMENTS {
5     ZEROPAGE: load = COMBINED, type = zp;
6     CODE: load = COMBINED, type = wprot;
7     RODATA: load = COMBINED, type = wprot;
8     DATA: load = COMBINED, type = rw, define = yes;
9     BSS: load = COMBINED, type = bss, define = yes;
10 }
11 FEATURES {
12     CONDES: segment = RODATA,
13             type = constructor,
14             label = __CONSTRUCTOR_TABLE__,
15             count = __CONSTRUCTOR_COUNT__;
16     CONDES: segment = RODATA,
17             type = destructor,
18             label = __DESTRUCTOR_TABLE__,
19             count = __DESTRUCTOR_COUNT__;
20 }
21 FILES {
22     %O: format = o65;
23 }
24 FORMATS {
25     o65: os = lunix, type = small, import = LUNIXKERNAL, import = LIB6502;
26 }
27 SYMBOLS {
28     __STACKSIZE__ = $800;       # 2K stack
29 }