more hacking

This commit is contained in:
mrdudz
2014-11-30 11:20:57 +01:00
parent 4275b82117
commit 1365afa845
7 changed files with 49 additions and 16 deletions

View File

@@ -1,3 +1,6 @@
SYMBOLS {
__STACKSIZE__: type = weak, value = $0300; # 3 pages stack
}
MEMORY {
ZP: start = $00, size = $1A, type = rw, define = yes;
@@ -37,10 +40,11 @@ SEGMENTS {
#HEADER: load = HEADER, type = wprot;
#aSTARTUP: load = ROM0, type = wprot, define = yes;
STARTUP: load = ROM0, type = wprot, define = yes;
STARTUP: load = ROM0, type = ro, define = yes;
CODE: load = ROM, type = wprot, define = yes;
RODATA: load = ROM, type = wprot, define = yes;
INIT: load = ROM0, type = ro, define = yes, optional = yes;
CODE: load = ROM, type = ro, define = yes;
RODATA: load = ROM, type = ro, define = yes;
DATA: load = ROM0, run= RAM, type = rw, define = yes;
# BSS: load = RAM2, type = bss, define = yes;
@@ -63,6 +67,3 @@ FEATURES {
label=__DESTRUCTOR_TABLE__,
count=__DESTRUCTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $0300; # 3 pages stack
}