blob: 68fdc20236ad2611cfd674d067703fca5528e40d [file] [log] [blame]
oliverschmidtf3fb0c92006-04-09 16:32:44 +00001MEMORY {
2 ZP: start = $0080, size = $001A, file = "", define = yes;
3 BUFFER: start = $0800, size = $0400, file = "";
4 HEADER: start = $0000, size = $0004, file = "contiki";
5 RAM: start = $0C00, size = $8A00, file = "contiki";
6 PIC: start = $0000, size = $FFFF, file = "contiki";
7 TMP: start = $0000, size = $FFFF, file = "contiki";
8 LC: start = $D000, size = $1000, file = "contiki";
oliverschmidt027febe2006-05-17 15:55:29 +00009 AUX: start = $2000, size = $2000, file = "contiki";
oliverschmidtf3fb0c92006-04-09 16:32:44 +000010}
11SEGMENTS {
12 ZEROPAGE: load = ZP, type = zp;
13 UIPBUF: load = BUFFER, type = bss;
14 EXEHDR: load = HEADER, type = ro;
15 STARTUP: load = RAM, type = ro, define = yes;
16 CONTIKI: load = RAM, type = ro;
17 RODATA: load = RAM, type = ro;
18 DATA: load = RAM, type = rw;
19 BSS: load = RAM, type = bss, define = yes;
20 BOOT: load = PIC, type = ro, define = yes;
21 INIT: load = TMP, run = RAM, type = ro, define = yes;
22 CODE: load = LC, type = ro, define = yes;
oliverschmidt027febe2006-05-17 15:55:29 +000023 UIP: load = AUX, type = ro, define = yes;
oliverschmidtf3fb0c92006-04-09 16:32:44 +000024}
25FEATURES {
26 CONDES: segment = INIT,
27 type = constructor,
28 label = __CONSTRUCTOR_TABLE__,
29 count = __CONSTRUCTOR_COUNT__;
30 CONDES: segment = RODATA,
31 type = destructor,
32 label = __DESTRUCTOR_TABLE__,
33 count = __DESTRUCTOR_COUNT__;
34 CONDES: segment = RODATA,
35 type = interruptor,
36 label = __INTERRUPTOR_TABLE__,
37 count = __INTERRUPTOR_COUNT__;
38}
39SYMBOLS {
oliverschmidt03fa4822006-05-29 21:02:22 +000040 __STACKSIZE__ = $0100;
oliverschmidtf3fb0c92006-04-09 16:32:44 +000041}