1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-22 17:29:34 +00:00

Made stacksize user-adjustable on the cmdline.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4293 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
ol.sc 2009-10-01 17:00:10 +00:00
parent 7608ec3c63
commit ba46bab009
27 changed files with 30 additions and 29 deletions

View File

@ -38,5 +38,5 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $0800; # 2k stack
__STACKSIZE__: value = $0800, weak = yes; # 2k stack
}

View File

@ -38,5 +38,5 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $0800; # 2k stack
__STACKSIZE__: value = $0800, weak = yes; # 2k stack
}

View File

@ -39,5 +39,5 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $0800; # 2k stack
__STACKSIZE__: value = $0800, weak = yes; # 2k stack
}

View File

@ -35,5 +35,5 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $0800; # 2k stack
__STACKSIZE__: value = $0800, weak = yes; # 2k stack
}

View File

@ -38,5 +38,5 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $0800; # 2k stack
__STACKSIZE__: value = $0800, weak = yes; # 2k stack
}

View File

@ -38,5 +38,5 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $0800; # 2k stack
__STACKSIZE__: value = $0800, weak = yes; # 2k stack
}

View File

@ -38,5 +38,5 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $0800; # 2k stack
__STACKSIZE__: value = $0800, weak = yes; # 2k stack
}

View File

@ -39,5 +39,5 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $0800; # 2k stack
__STACKSIZE__: value = $0800, weak = yes; # 2k stack
}

View File

@ -35,5 +35,5 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $0800; # 2k stack
__STACKSIZE__: value = $0800, weak = yes; # 2k stack
}

View File

@ -38,5 +38,5 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $0800; # 2k stack
__STACKSIZE__: value = $0800, weak = yes; # 2k stack
}

View File

@ -2,8 +2,8 @@ FEATURES {
STARTADDRESS: default = $2E00;
}
SYMBOLS {
__STACKSIZE__ = $800; # 2K stack
__RESERVED_MEMORY__: value = $0, weak = yes;
__STACKSIZE__: value = $0800, weak = yes; # 2k stack
__RESERVED_MEMORY__: value = $0000, weak = yes;
}
MEMORY {
ZP: start = $0082, size = $007E, type = rw, define = yes;

View File

@ -31,7 +31,7 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $800; # 2K stack
__STACKSIZE__: value = $0800, weak = yes; # 2k stack
}

View File

@ -28,7 +28,7 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $800; # 2K stack
__STACKSIZE__: value = $0800, weak = yes; # 2k stack
}

View File

@ -29,5 +29,5 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $800; # 2K stack
__STACKSIZE__: value = $0800, weak = yes; # 2k stack
}

View File

@ -29,5 +29,5 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $800; # 2K stack
__STACKSIZE__: value = $0800, weak = yes; # 2k stack
}

View File

@ -29,7 +29,7 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $800; # 2K stack
__STACKSIZE__: value = $0800, weak = yes; # 2k stack
}

View File

@ -38,5 +38,5 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $781; # ~2K stack
__STACKSIZE__: value = $0781, weak = yes; # ~2k stack
}

View File

@ -36,5 +36,5 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $800; # 2K stack
__STACKSIZE__: value = $0800, weak = yes; # 2k stack
}

View File

@ -31,5 +31,5 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $400; # 1K stack
__STACKSIZE__: value = $0400, weak = yes; # 1k stack
}

View File

@ -36,6 +36,6 @@ FORMATS {
import = LUNIXKERNEL; # Kernel entry-points
}
SYMBOLS {
__HEAPSIZE__ = $2000; # 8k heap [temporary, until LUnix malloc() exists]
__STACKSIZE__ = $0400; # 1k stack (do typical LUnix apps. need 2k?)
__HEAPSIZE__: value = $2000, weak = yes; # 8k heap [temporary, until LUnix malloc() exists]
__STACKSIZE__: value = $0400, weak = yes; # 1k stack (do typical LUnix apps. need 2k?)
}

View File

@ -32,5 +32,5 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $800; # 2K stack
__STACKSIZE__: value = $0800, weak = yes; # 2k stack
}

View File

@ -63,5 +63,5 @@ FEATURES {
}
SYMBOLS {
__STACKSIZE__ = $0300; # 3 pages stack
__STACKSIZE__: value = $0300, weak = yes; # 3 pages stack
}

View File

@ -27,5 +27,5 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $800; # 2K stack
__STACKSIZE__: value = $0800, weak = yes; # 2k stack
}

View File

@ -29,6 +29,6 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $800; # 2K stack
__STACKSIZE__: value = $0800, weak = yes; # 2k stack
}

View File

@ -29,5 +29,5 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $800; # 2K stack
__STACKSIZE__: value = $0800, weak = yes; # 2k stack
}

View File

@ -30,5 +30,5 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $400; # 1K stack
__STACKSIZE__: value = $0400, weak = yes; # 1k stack
}

View File

@ -29,7 +29,8 @@ FEATURES {
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $400; # 1K stack
__STACKSIZE__: value = $0400, weak = yes; # 1k stack
}