blob: 807ec786605ee1ed1d58bb009469a396b0328323 [file] [log] [blame]
sannyxb8e894e2003-04-12 01:56:56 +00001MEMORY {
2 ZP: start = $82, size = $7E, type = rw, define = yes;
3 HEADER: start = $0000, size = $6, file = %O;
sannyxe3e5bec2003-04-12 02:27:59 +00004 RAM: start = $10B0, size = $AB6F, file = %O; # $AB6F: matches upper bound $BC1F
sannyxb8e894e2003-04-12 01:56:56 +00005}
6SEGMENTS {
7 EXEHDR: load = HEADER, type = wprot;
8 CODE: load = RAM, type = wprot, define = yes;
9 RODATA: load = RAM, type = wprot;
10 DATA: load = RAM, type = rw;
11 BSS: load = RAM, type = bss, define = yes;
12 ZEROPAGE: load = ZP, type = zp;
13 AUTOSTRT: load = RAM, type = wprot;
14}
15FEATURES {
16 CONDES: segment = RODATA,
17 type = constructor,
18 label = __CONSTRUCTOR_TABLE__,
19 count = __CONSTRUCTOR_COUNT__;
20 CONDES: segment = RODATA,
21 type = destructor,
22 label = __DESTRUCTOR_TABLE__,
23 count = __DESTRUCTOR_COUNT__;
24}
25SYMBOLS {
26 __STACKSIZE__ = $800; # 2K stack
27}